mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Eliminate unused stat code
This commit is contained in:
parent
cd45750c9d
commit
53e20d4a37
5 changed files with 2 additions and 194 deletions
|
@ -394,24 +394,6 @@ private:
|
|||
void update_send_report_time(uint32_t ssrc, const SrsNtp& ntp);
|
||||
};
|
||||
|
||||
// The statistics for RTC connection.
|
||||
class SrsRtcConnectionStatistic
|
||||
{
|
||||
public:
|
||||
int nn_publishers; int nn_subscribers;
|
||||
int nn_rr; int nn_xr; int nn_sr; int nn_nack; int nn_pli;
|
||||
uint64_t nn_in_twcc; uint64_t nn_in_rtp; uint64_t nn_in_audios; uint64_t nn_in_videos;
|
||||
uint64_t nn_out_twcc; uint64_t nn_out_rtp; uint64_t nn_out_audios; uint64_t nn_out_videos;
|
||||
private:
|
||||
srs_utime_t born;
|
||||
srs_utime_t dead;
|
||||
public:
|
||||
SrsRtcConnectionStatistic();
|
||||
virtual ~SrsRtcConnectionStatistic();
|
||||
public:
|
||||
std::string summary();
|
||||
};
|
||||
|
||||
// Callback for RTC connection.
|
||||
class ISrsRtcConnectionHijacker
|
||||
{
|
||||
|
@ -449,7 +431,6 @@ private:
|
|||
SrsRtcConnectionNackTimer* timer_nack_;
|
||||
public:
|
||||
bool disposing_;
|
||||
SrsRtcConnectionStatistic* stat_;
|
||||
ISrsRtcConnectionHijacker* hijacker_;
|
||||
private:
|
||||
SrsRtcServer* server_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue