mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Rename SrsConnection to SrsTcpConnection
This commit is contained in:
parent
2135b638b1
commit
88826aae8f
16 changed files with 49 additions and 47 deletions
|
@ -422,7 +422,7 @@ void SrsStatistic::on_stream_close(SrsRequest* req)
|
|||
}
|
||||
}
|
||||
|
||||
srs_error_t SrsStatistic::on_client(SrsContextId cid, SrsRequest* req, SrsConnection* conn, SrsRtmpConnType type)
|
||||
srs_error_t SrsStatistic::on_client(SrsContextId cid, SrsRequest* req, SrsTcpConnection* conn, SrsRtmpConnType type)
|
||||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
||||
|
@ -474,7 +474,7 @@ void SrsStatistic::on_disconnect(SrsContextId cid)
|
|||
vhost->nb_clients--;
|
||||
}
|
||||
|
||||
void SrsStatistic::kbps_add_delta(SrsConnection* conn)
|
||||
void SrsStatistic::kbps_add_delta(SrsTcpConnection* conn)
|
||||
{
|
||||
// TODO: FIXME: Should not use context id as connection id.
|
||||
std::string id = conn->srs_id().c_str();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue