mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Rename connection stat
This commit is contained in:
parent
77256eee08
commit
0131472ae5
2 changed files with 10 additions and 12 deletions
|
@ -1493,7 +1493,7 @@ void SrsRtcPublishStream::update_send_report_time(uint32_t ssrc, const SrsNtp& n
|
|||
}
|
||||
}
|
||||
|
||||
SrsRtcConnectionStat::SrsRtcConnectionStat()
|
||||
SrsRtcConnectionStatistic::SrsRtcConnectionStatistic()
|
||||
{
|
||||
dead = born = srs_get_system_time();
|
||||
nn_publishers = nn_subscribers = 0;
|
||||
|
@ -1503,11 +1503,11 @@ SrsRtcConnectionStat::SrsRtcConnectionStat()
|
|||
nn_out_twcc = nn_out_rtp = nn_out_audios = nn_out_videos = 0;
|
||||
}
|
||||
|
||||
SrsRtcConnectionStat::~SrsRtcConnectionStat()
|
||||
SrsRtcConnectionStatistic::~SrsRtcConnectionStatistic()
|
||||
{
|
||||
}
|
||||
|
||||
string SrsRtcConnectionStat::summary()
|
||||
string SrsRtcConnectionStatistic::summary()
|
||||
{
|
||||
dead = srs_get_system_time();
|
||||
|
||||
|
@ -1544,7 +1544,7 @@ SrsRtcConnection::SrsRtcConnection(SrsRtcServer* s, SrsContextId context_id)
|
|||
is_publisher_ = false;
|
||||
encrypt = true;
|
||||
cid = context_id;
|
||||
stat_ = new SrsRtcConnectionStat();
|
||||
stat_ = new SrsRtcConnectionStatistic();
|
||||
|
||||
source_ = NULL;
|
||||
publisher_ = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue