bigbluebutton-Github/build/packages-template/bbb-freeswitch-core/audio.patch

15 lines
651 B
Diff
Raw Normal View History

--- src/mod/applications/mod_conference/mod_conference.c
+++ src/mod/applications/mod_conference/mod_conference.c
2022-10-28 10:52:02 +08:00
@@ -2476,9 +2476,7 @@ SWITCH_STANDARD_APP(conference_function)
/* Run the conference loop */
do {
- switch_media_flow_t audio_flow = switch_core_session_media_flow(session, SWITCH_MEDIA_TYPE_AUDIO);
-
2022-10-28 10:52:02 +08:00
- if (switch_channel_test_flag(channel, CF_AUDIO) && (audio_flow == SWITCH_MEDIA_FLOW_SENDRECV || audio_flow == SWITCH_MEDIA_FLOW_SENDONLY)) {
+ if (switch_channel_test_flag(channel, CF_AUDIO)) {
conference_loop_output(&member);
} else {
2022-10-28 10:52:02 +08:00
if (!conference_utils_member_test_flag(&member, MFLAG_ITHREAD)) {