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) {