block all possible routes to write data during ice and dtls negotiation

This commit is contained in:
Anthony Minessale committed 2014-01-25 03:48:32 +05:00
1 parent d878bac69c
commit 358b5db0e4
3 files changed
+35 -13

No files matched your search

@@ -2341,7 +2341,7 @@ static switch_status_t channel_write_video_frame(switch_core_session_t *session,
wrote = switch_rtp_write_frame(tech_pvt->transports[LDL_TPORT_VIDEO_RTP].rtp_session, frame);
}
return wrote > 0 ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_GENERR;
return wrote > -1 ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_GENERR;
}
static switch_status_t channel_answer_channel(switch_core_session_t *session)