From 422f348240eee2a384404b6c9f42b8e394c13bda Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 15 Mar 2018 12:43:02 -0500 Subject: [PATCH] FS-11036: [mod_rtmp] No audio on rtmp clients #resolve --- src/mod/endpoints/mod_rtmp/mod_rtmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/endpoints/mod_rtmp/mod_rtmp.c b/src/mod/endpoints/mod_rtmp/mod_rtmp.c index 76d4ea563d..5a01436d22 100644 --- a/src/mod/endpoints/mod_rtmp/mod_rtmp.c +++ b/src/mod/endpoints/mod_rtmp/mod_rtmp.c @@ -176,6 +176,8 @@ switch_status_t rtmp_tech_init(rtmp_private_t *tech_pvt, rtmp_session_t *rsessio on_rtmp_tech_init(session, tech_pvt); } + switch_channel_set_flag(tech_pvt->channel, CF_AUDIO); + switch_core_session_set_private(session, tech_pvt); // switch_core_session_start_video_thread(session);