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

Refine code for changing id of stat to string

This commit is contained in:
winlin 2021-01-07 17:27:30 +08:00
parent 1c41f5d796
commit d520679547
5 changed files with 7 additions and 7 deletions

View file

@ -47,7 +47,7 @@ string srs_generate_id()
SrsStatisticVhost::SrsStatisticVhost()
{
id = srs_int2str(srs_generate_id());
id = srs_generate_id();
clk = new SrsWallClock();
kbps = new SrsKbps(clk);
@ -98,7 +98,7 @@ srs_error_t SrsStatisticVhost::dumps(SrsJsonObject* obj)
SrsStatisticStream::SrsStatisticStream()
{
id = srs_int2str(srs_generate_id());
id = srs_generate_id();
vhost = NULL;
active = false;