mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
FS-6667 #comment block sending audio when dmachine is reading
This commit is contained in:
1 parent
52ed525b97
commit
b2162142f3
4 files changed
+16
No files matched your search
@@ -2929,6 +2929,7 @@ SWITCH_DECLARE(void) switch_core_session_set_ice(switch_core_session_t *session)
|
||||
switch_channel_set_flag(session->channel, CF_ICE);
|
||||
smh->mparams->rtcp_audio_interval_msec = "10000";
|
||||
smh->mparams->rtcp_video_interval_msec = "10000";
|
||||
|
||||
}
|
||||
|
||||
#define MAX_MATCHES 30
|
||||
@@ -5092,6 +5093,10 @@ 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->rtp_bugs, val);
|
||||
}
|
||||
|
||||
if (switch_channel_test_flag(session->channel, CF_WEBRTC)) {
|
||||
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user