FS-9136: allow multiple instances of same video codec with different fmtp

This commit is contained in:
Anthony Minessale
2016-05-19 16:32:47 -05:00
committed by Michael Jerris
parent 930777efda
commit 50d7a80fa3
6 changed files with 158 additions and 62 deletions
@@ -142,7 +142,7 @@ static switch_status_t tech_init(loopback_private_t *tech_pvt, switch_core_sessi
if ((var = switch_channel_get_variable(channel, "loopback_initial_codec"))) {
char *dup = switch_core_session_strdup(session, var);
uint32_t bit, channels;
iananame = switch_parse_codec_buf(dup, &interval, &rate, &bit, &channels, &codec_modname);
iananame = switch_parse_codec_buf(dup, &interval, &rate, &bit, &channels, &codec_modname, NULL);
}
}