修复WebRtcProxyPusher速率为0 bug (#4558)

This commit is contained in:
mtdxc
2025-11-22 08:22:42 +08:00
committed by GitHub
parent c9490ad764
commit 70a2140f27
4 changed files with 26 additions and 0 deletions

View File

@@ -34,6 +34,9 @@ public:
void publish(const std::string &url) override;
void teardown() override;
size_t getSendSpeed() override { return getWebRtcTransport() ? getWebRtcTransport()->getSendSpeed() : 0; }
size_t getSendTotalBytes() override { return getWebRtcTransport() ? getWebRtcTransport()->getSendTotalBytes() : 0; }
protected:
//// WebRtcClient override////
void startConnect() override;