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

Support simulate NACK for RTC publisher

This commit is contained in:
winlin 2020-05-04 17:49:39 +08:00
parent 4d33070c59
commit d125116317
6 changed files with 31 additions and 5 deletions

View file

@ -278,6 +278,8 @@ private:
private:
SrsRequest* req;
SrsSource* source;
// Simulators.
int nn_simulate_nack_drop;
private:
std::map<uint32_t, uint64_t> last_sender_report_sys_time;
std::map<uint32_t, SrsNtp> last_sender_report_ntp;