mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refactor API, use shared pkt for consumer
This commit is contained in:
parent
31de2c71d0
commit
c7b88e08e9
5 changed files with 9 additions and 15 deletions
|
|
@ -84,8 +84,6 @@ public:
|
|||
// Free the packet at position.
|
||||
void set(uint16_t at, SrsRtpPacket2* pkt);
|
||||
void remove(uint16_t at);
|
||||
// Whether queue overflow or heavy(too many packets and need clear).
|
||||
bool overflow();
|
||||
// The highest sequence number, calculate the flip back base.
|
||||
uint32_t get_extended_highest_sequence();
|
||||
// Update the sequence, got the nack range by [first, last).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue