int sm_vmptx_config_codec_isac(struct sm_vmptx_codec_isac_parms *codecp)
typedef struct sm_vmptx_codec_isac_parms { tSMVMPtxId vmptx; /* in */ tSM_INT payload_type; /* in */ tSMVMPrxId partner; /* in */ tSM_INT channel_associated_mode; /* in */ } SM_VMPTX_CODEC_ISAC_PARMS;
Configures a VMP[tx] to use the iSAC codec for encoding data.
An iSAC codec can automatically adapt its transmitter to network conditions using information derived from the corresponding receiver. When partner is set to a VMP[rx] already configured for the iSAC codec and channel_associated_mode is non zero this transmitter will be automatically adjusted based on the data seen by that receiver. Otherwise, sm_vmptx_config_isac_rate() is used to configure the rate.
The
partner
field may be kSMNullVMPrxId
. However, channel counts
may be improved by partnering.
This requires the module isac to have been downloaded.
-1
will remove any payload type configuration from the
codec preventing its use.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.