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_vid_toolbox_init (pjmedia_vid_codec_mgr *mgr, pj_pool_factory *pf)
 
pj_status_t pjmedia_codec_vid_toolbox_deinit (void)
 

Detailed Description

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

Function Documentation

◆ pjmedia_codec_vid_toolbox_init()

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
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_vid_toolbox_deinit()

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.

References PJ_END_DECL.

 


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