Group PJMEDIA_CODEC_VID_TOOLBOX

group PJMEDIA_CODEC_VID_TOOLBOX

Video Toolbox H.264 codec wrapper for Mac and iOS.

Functions

pj_status_t pjmedia_codec_vid_toolbox_init(pjmedia_vid_codec_mgr *mgr, pj_pool_factory *pf)

Initialize and register Video Toolbox codec factory.

Parameters
  • mgr – The 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).

  • pf – Pool factory.

Returns

PJ_SUCCESS on success.

pj_status_t pjmedia_codec_vid_toolbox_deinit(void)

Unregister Video Toolbox video codecs factory from the video codec manager and deinitialize the codec library.

Returns

PJ_SUCCESS on success.