mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-20 10:14:14 +00:00
FS-5302 --resolve
This commit is contained in:
1 parent
e1da1e7b38
commit
f92528436f
2 files changed
+90
-52
No files matched your search
@@ -1303,6 +1303,9 @@ static uint8_t get_next_write_ts(switch_rtp_t *rtp_session, uint32_t timestamp)
|
||||
}
|
||||
} else {
|
||||
rtp_session->ts += rtp_session->samples_per_interval;
|
||||
if (rtp_session->ts <= rtp_session->last_write_ts && rtp_session->ts > 0) {
|
||||
rtp_session->ts = rtp_session->last_write_ts + rtp_session->samples_per_interval;
|
||||
}
|
||||
}
|
||||
|
||||
return m;
|
||||
|
||||
Reference in new issue
Block a user