mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
mod_sofia: ilbc changes - I did an error in the patch I provided tony for r16898.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16900 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a100b63d43
commit
2de8961b2a
@ -3525,8 +3525,8 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!strcasecmp((char *) rm_encoding, "ilbc")) {
|
if (!strcasecmp((char *) rm_encoding, "ilbc")) {
|
||||||
char *mode = NULL;
|
char *mode = strstr(map->rm_fmtp, "mode=");
|
||||||
if ((mode = strstr(map->rm_fmtp, "mode=")) && mode) {
|
if (mode && (mode + 5)) {
|
||||||
codec_ms = atoi(mode + 5);
|
codec_ms = atoi(mode + 5);
|
||||||
}
|
}
|
||||||
if (!codec_ms) {
|
if (!codec_ms) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user