mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
STAT: Update stat for SRT connection.
This commit is contained in:
parent
101e4fa3b9
commit
da24de5ecb
5 changed files with 104 additions and 15 deletions
|
|
@ -70,7 +70,7 @@ private:
|
|||
srs_error_t recv_err_;
|
||||
};
|
||||
|
||||
class SrsMpegtsSrtConn : public ISrsStartableConneciton, public ISrsCoroutineHandler
|
||||
class SrsMpegtsSrtConn : public ISrsStartableConneciton, public ISrsCoroutineHandler, public ISrsExpire
|
||||
{
|
||||
public:
|
||||
SrsMpegtsSrtConn(SrsSrtServer* srt_server, srs_srt_t srt_fd, std::string ip, int port);
|
||||
|
|
@ -81,6 +81,9 @@ public:
|
|||
// Interface ISrsKbpsDelta
|
||||
public:
|
||||
virtual void remark(int64_t* in, int64_t* out);
|
||||
// Interface ISrsExpire
|
||||
public:
|
||||
virtual void expire();
|
||||
public:
|
||||
virtual srs_error_t start();
|
||||
// Interface ISrsConnection.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue