mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-25 04:01:55 +00:00
only flush on break when its a blocking situation part 1
This commit is contained in:
parent
3a0767865d
commit
62c6855f28
@ -3102,6 +3102,8 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
|||||||
do_2833(rtp_session, session);
|
do_2833(rtp_session, session);
|
||||||
bytes = 0;
|
bytes = 0;
|
||||||
return_cng_frame();
|
return_cng_frame();
|
||||||
|
} else {
|
||||||
|
switch_clear_flag_locked(rtp_session, SWITCH_RTP_FLAG_FLUSH);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user