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:
parent
4d33070c59
commit
d125116317
6 changed files with 31 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue