Group PJMED_GSM

group PJMED_GSM

Implementation of GSM FR based on GSM 06.10 library.

This section describes functions to initialize and register GSM codec factory to the codec manager. After the codec factory has been registered, application can use Codec Framework API to manipulate the codec.

The GSM codec supports 16-bit PCM with sampling rate of 8000Hz resulting in 13.2kbps bitrate.

Codec Settings

General Settings

General codec settings for this codec such as VAD and PLC can be manipulated through the setting field in pjmedia_codec_param. Please see the documentation of pjmedia_codec_param for more info.

Codec Specific Settings

Currently none.

Functions

pj_status_t pjmedia_codec_gsm_init(pjmedia_endpt *endpt)

Initialize and register GSM codec factory to pjmedia endpoint.

Parameters:

endpt – The pjmedia endpoint.

Returns:

PJ_SUCCESS on success.

pj_status_t pjmedia_codec_gsm_deinit(void)

Unregister GSM codec factory from pjmedia endpoint and deinitialize the GSM codec library.

Returns:

PJ_SUCCESS on success.