1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Support NACK for RTC player

This commit is contained in:
winlin 2020-05-04 14:47:58 +08:00
parent d462b750fb
commit 4d33070c59
13 changed files with 274 additions and 69 deletions

View file

@ -228,12 +228,12 @@ uint16_t SrsRtpHeader::get_sequence() const
return sequence;
}
void SrsRtpHeader::set_timestamp(int64_t v)
void SrsRtpHeader::set_timestamp(uint32_t v)
{
timestamp = (uint32_t)v;
timestamp = v;
}
int64_t SrsRtpHeader::get_timestamp() const
uint32_t SrsRtpHeader::get_timestamp() const
{
return timestamp;
}