forked from Mirrors/freeswitch
[core] fix set rtp flag for rtcp events after flags zeroed out.
This commit is contained in:
parent
8f9f5c1c3e
commit
30d5d58e6e
|
@ -8710,8 +8710,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_activate_rtp(switch_core_sessi
|
||||||
|
|
||||||
switch_core_media_set_video_codec(session, 0);
|
switch_core_media_set_video_codec(session, 0);
|
||||||
|
|
||||||
|
|
||||||
memset(flags, 0, sizeof(flags));
|
|
||||||
flags[SWITCH_RTP_FLAG_DATAWAIT]++;
|
flags[SWITCH_RTP_FLAG_DATAWAIT]++;
|
||||||
|
|
||||||
if (!switch_media_handle_test_media_flag(smh, SCMF_DISABLE_RTP_AUTOADJ) && !switch_channel_test_flag(session->channel, CF_AVPF) &&
|
if (!switch_media_handle_test_media_flag(smh, SCMF_DISABLE_RTP_AUTOADJ) && !switch_channel_test_flag(session->channel, CF_AVPF) &&
|
||||||
|
|
Loading…
Reference in New Issue