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

for #442, add publish connection in stream.publish api

This commit is contained in:
winlin 2015-08-22 13:03:10 +08:00
parent 529803ed04
commit b37797b13a
3 changed files with 22 additions and 17 deletions

View file

@ -2066,7 +2066,7 @@ int SrsSource::on_publish()
return ret;
}
SrsStatistic* stat = SrsStatistic::instance();
stat->on_stream_publish(_req);
stat->on_stream_publish(_req, _source_id);
return ret;
}