don't fail when rtp_write returns 0
This commit is contained in:
parent
396e1a7201
commit
a0181631d1
|
@ -1830,7 +1830,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_write_frame(switch_core_sessio
|
||||||
|
|
||||||
engine->timestamp_send += samples;
|
engine->timestamp_send += samples;
|
||||||
|
|
||||||
if (switch_rtp_write_frame(engine->rtp_session, frame) <= 0) {
|
if (switch_rtp_write_frame(engine->rtp_session, frame) < 0) {
|
||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue