mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine NACK check, interval, time
This commit is contained in:
parent
d505bb6ea6
commit
abc26d470b
4 changed files with 9 additions and 5 deletions
|
@ -1212,6 +1212,11 @@ vector<uint16_t> SrsRtcpNack::get_lost_sns() const
|
|||
return sn;
|
||||
}
|
||||
|
||||
bool SrsRtcpNack::empty()
|
||||
{
|
||||
return lost_sns_.empty();
|
||||
}
|
||||
|
||||
void SrsRtcpNack::set_media_ssrc(uint32_t ssrc)
|
||||
{
|
||||
media_ssrc_ = ssrc;
|
||||
|
|
|
@ -345,6 +345,7 @@ public:
|
|||
|
||||
uint32_t get_media_ssrc() const;
|
||||
std::vector<uint16_t> get_lost_sns() const;
|
||||
bool empty();
|
||||
|
||||
void set_media_ssrc(uint32_t ssrc);
|
||||
void add_lost_sn(uint16_t sn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue