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

+1 -1
View File
@@ -1815,7 +1815,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_write_frame(switch_core_sessio
engine->timestamp_send += samples;
if (!switch_rtp_write_frame(engine->rtp_session, frame)) {
if (switch_rtp_write_frame(engine->rtp_session, frame) <= 0) {
status = SWITCH_STATUS_FALSE;
}