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:
parent
529803ed04
commit
b37797b13a
3 changed files with 22 additions and 17 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue