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

Squash: Fix random bug

This commit is contained in:
winlin 2021-07-04 16:04:51 +08:00
parent db3e11152e
commit 13d015b8fd
14 changed files with 28 additions and 34 deletions

View file

@ -81,9 +81,6 @@ 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.