pjsua_codec_set_priority method
Change codec priority.
@param codec_id Codec ID, which is a string that uniquely identify the codec (such as "speex/8000"). Please see pjsua manual or pjmedia codec reference for details. @param priority Codec priority, 0-255, where zero means to disable the codec.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_codec_set_priority(
ffi.Pointer<pj_str_t> codec_id,
int priority,
) {
return _pjsua_codec_set_priority(
codec_id,
priority,
);
}