mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 19:58:10 +08:00
修复WebRtcProxyPusher速率为0 bug (#4558)
This commit is contained in:
@@ -165,6 +165,8 @@ public:
|
||||
void getTransportInfo(const std::function<void(Json::Value)> &callback) const;
|
||||
size_t getRecvSpeed() const { return _ice_agent ? _ice_agent->getRecvSpeed() : 0; }
|
||||
size_t getRecvTotalBytes() const { return _ice_agent ? _ice_agent->getRecvTotalBytes() : 0; }
|
||||
size_t getSendSpeed() const { return _ice_agent ? _ice_agent->getSendSpeed() : 0; }
|
||||
size_t getSendTotalBytes() const { return _ice_agent ? _ice_agent->getSendTotalBytes() : 0; }
|
||||
|
||||
void setOnShutdown(std::function<void(const toolkit::SockException &ex)> cb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user