mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refactor: Use compositor for ISrsKbpsDelta. v5.0.51
This commit is contained in:
parent
29ae29c693
commit
1630918b0f
24 changed files with 225 additions and 213 deletions
|
@ -434,7 +434,7 @@ private:
|
|||
//
|
||||
// For performance, we use non-public from resource,
|
||||
// see https://stackoverflow.com/questions/3747066/c-cannot-convert-from-base-a-to-derived-type-b-via-virtual-base-a
|
||||
class SrsRtcConnection : public ISrsResource, public ISrsDisposingHandler, public ISrsExpire, public ISrsKbpsDelta
|
||||
class SrsRtcConnection : public ISrsResource, public ISrsDisposingHandler, public ISrsExpire
|
||||
{
|
||||
friend class SrsSecurityTransport;
|
||||
friend class SrsRtcPlayStream;
|
||||
|
@ -513,9 +513,8 @@ public:
|
|||
std::string username();
|
||||
// Get all addresses client used.
|
||||
std::vector<SrsUdpMuxSocket*> peer_addresses();
|
||||
// Interface ISrsKbpsDelta.
|
||||
public:
|
||||
virtual void remark(int64_t* in, int64_t* out);
|
||||
virtual ISrsKbpsDelta* delta();
|
||||
// Interface ISrsResource.
|
||||
public:
|
||||
virtual const SrsContextId& get_id();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue