mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Merge srs_rtp_seq_distance with srs_seq_is_newer
This commit is contained in:
parent
3f5ab8dc63
commit
d603b1580e
5 changed files with 76 additions and 85 deletions
|
@ -61,7 +61,7 @@ struct SrsRtcpHeader
|
|||
|
||||
struct SrsSeqCompareLess {
|
||||
bool operator()(const uint16_t &lhs, const uint16_t &rhs) const {
|
||||
return SrsSeqIsNewer(rhs, lhs);
|
||||
return srs_seq_is_newer(rhs, lhs);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue