mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge branch '4.0release' into develop
This commit is contained in:
commit
79358673ef
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