mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #3167: WebRTC: Play stucked when republish. v4.0.260
This commit is contained in:
parent
4a225c5640
commit
34196ea7f7
6 changed files with 120 additions and 4 deletions
|
@ -61,6 +61,10 @@ inline int16_t srs_rtp_seq_distance(const uint16_t& prev_value, const uint16_t&
|
|||
{
|
||||
return (int16_t)(value - prev_value);
|
||||
}
|
||||
inline int32_t srs_rtp_ts_distance(const uint32_t& prev_value, const uint32_t& value)
|
||||
{
|
||||
return (int32_t)(value - prev_value);
|
||||
}
|
||||
|
||||
// For map to compare the sequence of RTP.
|
||||
struct SrsSeqCompareLess {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue