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:
Anthony Minessale
2015-09-11 11:37:01 -05:00
parent c195ee4c60
commit eea76c8856
36 changed files with 1888 additions and 2532 deletions

View File

@@ -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);