From ce690418a109df333caeefc1c50992731e6988e3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 20 Nov 2013 03:36:45 +0500 Subject: [PATCH] FS-5959 add rtp_mirror_fmtp var --- src/switch_core_media.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 9911cad4c1..9939ce7712 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -6293,9 +6293,10 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess if (ov_fmtp) { pass_fmtp = ov_fmtp; - }// else { // seems to break eyebeam at least... - //pass_fmtp = switch_channel_get_variable(session->channel, "rtp_video_fmtp"); - //} + } else if (switch_true(switch_channel_get_variable_dup(session->channel, "rtp_mirror_fmtp", SWITCH_FALSE, -1))) { + // seems to break eyebeam at least... + pass_fmtp = switch_channel_get_variable(session->channel, "rtp_video_fmtp"); + } } if (pass_fmtp) {