mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
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;
|
||||
|
||||
if (switch_rtp_write_frame(engine->rtp_session, frame) <= 0) {
|
||||
if (switch_rtp_write_frame(engine->rtp_session, frame) < 0) {
|
||||
status = SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user