mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
merge from bravo code, fix some warnings.
This commit is contained in:
parent
44bc7976ac
commit
5d7b0edccc
11 changed files with 80 additions and 26 deletions
|
@ -195,6 +195,7 @@ int SrsStatistic::on_client(int id, SrsRequest* req)
|
|||
SrsStatisticClient* client = NULL;
|
||||
if (clients.find(id) == clients.end()) {
|
||||
client = new SrsStatisticClient();
|
||||
client->id = id;
|
||||
client->stream = stream;
|
||||
clients[id] = client;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue