FS-8053 #resolve [When WebRTC's SDP contains a=sendonly for video, the client will still receive the video stream]

This commit is contained in:
Anthony Minessale committed 2015-11-18 10:31:30 -06:00
1 parent c550dc07ea
commit e95f3686ad
3 files changed
+35 -11

No files matched your search

+4
View File
@@ -3430,6 +3430,10 @@ static switch_status_t check_ice(switch_media_handle_t *smh, switch_media_type_t
if (switch_channel_test_flag(smh->session->channel, CF_REINVITE)) {
if (v_engine->remote_ssrc) {
switch_rtp_set_remote_ssrc(v_engine->rtp_session, v_engine->remote_ssrc);
}
if (switch_rtp_ready(engine->rtp_session) && engine->ice_in.cands[engine->ice_in.chosen[0]][0].ready && engine->new_ice) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(smh->session), SWITCH_LOG_INFO, "RE-Activating %s ICE\n", type2str(type));