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

@ -85,6 +85,9 @@ srs_error_t do_main(int argc, char** argv)
// TODO: support both little and big endian.
srs_assert(srs_is_little_endian());
// For RTC to generating random ICE username.
::srandom((unsigned long)(srs_update_system_time() | (::getpid()<<13)));
// for gperf gmp or gcp,
// should never enable it when not enabled for performance issue.