mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-19 17:54:13 +00:00
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:
1 parent
0777568241
commit
de3b0a0957
2 files changed
+22
No files matched your search
@@ -1264,6 +1264,10 @@ void conference_video_write_canvas_image_to_codec_group(conference_obj_t *confer
|
||||
continue;
|
||||
}
|
||||
|
||||
if (imember->video_flow == SWITCH_MEDIA_FLOW_RECVONLY) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!imember->session || !switch_channel_test_flag(imember->channel, CF_VIDEO) ||
|
||||
switch_core_session_read_lock(imember->session) != SWITCH_STATUS_SUCCESS) {
|
||||
continue;
|
||||
@@ -2588,6 +2592,10 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
|
||||
continue;
|
||||
}
|
||||
|
||||
if (imember->video_flow == SWITCH_MEDIA_FLOW_RECVONLY) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (need_refresh) {
|
||||
switch_core_session_request_video_refresh(imember->session);
|
||||
}
|
||||
@@ -2922,6 +2930,10 @@ void *SWITCH_THREAD_FUNC conference_video_super_muxing_thread_run(switch_thread_
|
||||
continue;
|
||||
}
|
||||
|
||||
if (imember->video_flow == SWITCH_MEDIA_FLOW_RECVONLY) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!imember->session || !switch_channel_test_flag(imember->channel, CF_VIDEO) ||
|
||||
switch_core_session_read_lock(imember->session) != SWITCH_STATUS_SUCCESS) {
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user