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
|
@ -83,11 +83,6 @@ void SrsRtpRingBuffer::remove(uint16_t at)
|
|||
set(at, NULL);
|
||||
}
|
||||
|
||||
bool SrsRtpRingBuffer::overflow()
|
||||
{
|
||||
return srs_rtp_seq_distance(begin, end) >= capacity_;
|
||||
}
|
||||
|
||||
uint32_t SrsRtpRingBuffer::get_extended_highest_sequence()
|
||||
{
|
||||
return nn_seq_flip_backs * 65536 + end - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue