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

RTC: Support disable the NACK no-copy, enable copy by default

This commit is contained in:
winlin 2021-02-28 18:51:27 +08:00
parent 50860325dd
commit f63441413d
7 changed files with 81 additions and 8 deletions

View file

@ -233,6 +233,7 @@ private:
bool realtime;
// Whether enabled nack.
bool nack_enabled_;
bool nack_no_copy_;
private:
// Whether palyer started.
bool is_started;
@ -287,6 +288,7 @@ private:
uint16_t pt_to_drop_;
// Whether enabled nack.
bool nack_enabled_;
bool nack_no_copy_;
bool twcc_enabled_;
private:
bool request_keyframe_;