Helper function to register all codecs.
More...
Helper function to register all codecs that are implemented in PJMEDIA-CODEC library.
◆ pjmedia_audio_codec_config_default()
◆ pjmedia_codec_register_audio_codecs()
Register all known audio codecs implemented in PJMEDA-CODEC library to the specified media endpoint.
- Parameters
-
endpt | The media endpoint. |
c | Optional codec configuration, or NULL to use default values. |
- Returns
- PJ_SUCCESS on success or the appropriate error code.