2022-02-03 12:01:19 +08:00
|
|
|
--- 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)
|
2022-02-03 12:01:19 +08:00
|
|
|
|
|
|
|
/* 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)) {
|
2022-02-03 12:01:19 +08:00
|
|
|
+ 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)) {
|
|
|
|
|