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

@ -64,7 +64,7 @@ private:
bool marker;
uint8_t payload_type;
uint16_t sequence;
int32_t timestamp;
uint32_t timestamp;
uint32_t ssrc;
uint32_t csrc[15];
uint16_t extension_length;
@ -84,8 +84,8 @@ public:
uint8_t get_payload_type() const;
void set_sequence(uint16_t v);
uint16_t get_sequence() const;
void set_timestamp(int64_t v);
int64_t get_timestamp() const;
void set_timestamp(uint32_t v);
uint32_t get_timestamp() const;
void set_ssrc(uint32_t v);
uint32_t get_ssrc() const;
void set_padding(bool v);