mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
FS-8130
Port video buffer to also support audio and remove original STFU jitter buffer Add some more resilience to video packet loss Add codec control mechanism for both call-specific debug and codec/call specfic params Make opus function better in packet loss and latent situations Use new codec control prams to make JB lookahead FEC optionally enabled or disabled mid-call Add Param to allow JB lookahead to be enabled.
This commit is contained in:
@@ -878,6 +878,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_control(switch_codec_t *codec,
|
||||
switch_codec_control_command_t cmd,
|
||||
switch_codec_control_type_t ctype,
|
||||
void *cmd_data,
|
||||
switch_codec_control_type_t atype,
|
||||
void *cmd_arg,
|
||||
switch_codec_control_type_t *rtype,
|
||||
void **ret_data)
|
||||
{
|
||||
@@ -898,7 +900,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_control(switch_codec_t *codec,
|
||||
if (codec->mutex) switch_mutex_lock(codec->mutex);
|
||||
|
||||
if (codec->implementation->codec_control) {
|
||||
status = codec->implementation->codec_control(codec, cmd, ctype, cmd_data, rtype, ret_data);
|
||||
status = codec->implementation->codec_control(codec, cmd, ctype, cmd_data, atype, cmd_arg, rtype, ret_data);
|
||||
}
|
||||
|
||||
if (codec->mutex) switch_mutex_unlock(codec->mutex);
|
||||
|
Reference in New Issue
Block a user