mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: process twcc before srtp unprotected
This commit is contained in:
parent
121266ecbf
commit
6ff048ed35
3 changed files with 28 additions and 13 deletions
|
@ -175,6 +175,7 @@ private:
|
|||
uint32_t ssrc;
|
||||
uint32_t csrc[15];
|
||||
SrsRtpExtensions extensions_;
|
||||
bool decode_only_header_;
|
||||
public:
|
||||
SrsRtpHeader();
|
||||
virtual ~SrsRtpHeader();
|
||||
|
@ -199,6 +200,7 @@ public:
|
|||
void set_padding(uint8_t v);
|
||||
uint8_t get_padding() const;
|
||||
void set_extensions(const SrsRtpExtensionTypes* extmap);
|
||||
void set_decode_only_header(bool only_header);
|
||||
srs_error_t get_twcc_sequence_number(uint16_t& twcc_sn);
|
||||
srs_error_t set_twcc_sequence_number(uint8_t id, uint16_t sn);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue