Group PJMEDIA_CODEC_VID_FFMPEG

group PJMEDIA_CODEC_VID_FFMPEG

Functions

pj_status_t pjmedia_codec_ffmpeg_vid_init(pjmedia_vid_codec_mgr *mgr, pj_pool_factory *pf)

Initialize and register FFMPEG video codecs factory to pjmedia endpoint.

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_ffmpeg_vid_deinit(void)

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

Returns:

PJ_SUCCESS on success.