WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

Functions

pj_status_t pjmedia_codec_and_media_vid_init (pjmedia_vid_codec_mgr *mgr, pj_pool_factory *pf)
 
pj_status_t pjmedia_codec_and_media_vid_deinit (void)
 

Detailed Description

Video MediaCodec codec wrapper for Android.

This codec wrapper contains varius codecs: i.e: H.264/AVC, VP8 and VP9. The H.264 codec wrapper only supports non-interleaved packetization mode. If remote uses a different mode (e.g: single-nal), this will cause unpacketization issue and affect decoding process.

Function Documentation

◆ pjmedia_codec_and_media_vid_init()

pj_status_t pjmedia_codec_and_media_vid_init ( pjmedia_vid_codec_mgr mgr,
pj_pool_factory pf 
)

Initialize and register Android Mediacodec video codec factory.

Parameters
mgrThe video codec manager instance where this codec will be registered to. Specify NULL to use default instance (in that case, an instance of video codec manager must have been created beforehand).
pfPool factory.
Returns
PJ_SUCCESS on success.

◆ pjmedia_codec_and_media_vid_deinit()

pj_status_t pjmedia_codec_and_media_vid_deinit ( void  )

Unregister Android Mediacodec video codecs factory from the video codec manager and deinitialize the codec library.

Returns
PJ_SUCCESS on success.

References PJ_END_DECL.

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.