]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
nm
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 15 Aug 2014 21:00:38 +0000 (02:00 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 15 Aug 2014 21:00:38 +0000 (02:00 +0500)
src/switch_core_media.c

index 8e095744b0719aa4030b2cf5756dbab79d79e4bf..505f024c3e5737175cd37a504c2d9b89e2b9804d 100644 (file)
@@ -5091,11 +5091,11 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_activate_rtp(switch_core_sessi
                }
 
                if ((val = switch_channel_get_variable(session->channel, "rtp_manual_rtp_bugs"))) {
-                       switch_core_media_parse_rtp_bugs(&a_engine->manual_rtp_bugs, val);
+                       switch_core_media_parse_rtp_bugs(&a_engine->rtp_bugs, val);
                }
                
                if (switch_channel_test_flag(session->channel, CF_WEBRTC)) {
-                       smh->mparams->manual_rtp_bugs |= RTP_BUG_SEND_LINEAR_TIMESTAMPS;
+                       smh->mparams->manual_rtp_bugs = RTP_BUG_SEND_LINEAR_TIMESTAMPS;
                }
 
                switch_rtp_intentional_bugs(a_engine->rtp_session, a_engine->rtp_bugs | smh->mparams->manual_rtp_bugs);