mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
FS-7499 FS-7513 video mute the old way seems to break chrome when resuming, add some improvements to mitigate
This commit is contained in:
1 parent
772665e0fa
commit
22ec9c378e
2 files changed
+12
-8
No files matched your search
@@ -4791,6 +4791,12 @@ static void do_flush(switch_rtp_t *rtp_session, int force)
|
||||
}
|
||||
}
|
||||
|
||||
if (rtp_session->flags[SWITCH_RTP_FLAG_VIDEO] && rtp_session->session) {
|
||||
int type = 1; // sum flags: 1 encoder; 2; decoder
|
||||
switch_core_media_codec_control(rtp_session->session, SWITCH_MEDIA_TYPE_VIDEO, SWITCH_IO_READ, SCC_VIDEO_RESET, SCCT_INT, (void *)&type, NULL, NULL);
|
||||
switch_core_session_request_video_refresh(rtp_session->session);
|
||||
}
|
||||
|
||||
READ_DEC(rtp_session);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user