1
0
Fork 0
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:
忘篱 2020-05-17 09:03:40 +08:00
parent 3f5ab8dc63
commit d603b1580e
5 changed files with 76 additions and 85 deletions

View file

@ -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);
}
};