mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8040 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+4
-4
@@ -1123,6 +1123,10 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (bytes > 0) {
|
||||
rtp_session->missed_count = 0;
|
||||
}
|
||||
|
||||
if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_BREAK)) {
|
||||
switch_clear_flag_locked(rtp_session, SWITCH_RTP_FLAG_BREAK);
|
||||
do_2833(rtp_session);
|
||||
@@ -1347,10 +1351,6 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
||||
}
|
||||
}
|
||||
|
||||
if (bytes > 0) {
|
||||
rtp_session->missed_count = 0;
|
||||
}
|
||||
|
||||
if (status == SWITCH_STATUS_BREAK || bytes == 0) {
|
||||
if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_DATAWAIT)) {
|
||||
goto do_continue;
|
||||
|
||||
Reference in New Issue
Block a user