mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix pacer rate setting
This commit is contained in:
@@ -88,6 +88,7 @@ class IceTransportController
|
||||
void PostUpdates(webrtc::NetworkControlUpdate update);
|
||||
void UpdateControlState();
|
||||
void UpdateCongestedState();
|
||||
std::optional<bool> GetCongestedStateUpdate() const;
|
||||
|
||||
private:
|
||||
bool Process() override;
|
||||
@@ -119,6 +120,8 @@ class IceTransportController
|
||||
webrtc::TransportFeedbackAdapter transport_feedback_adapter_;
|
||||
std::unique_ptr<CongestionControl> controller_;
|
||||
BitrateProber prober_;
|
||||
webrtc::DataSize congestion_window_size_;
|
||||
bool is_congested_ = false;
|
||||
|
||||
private:
|
||||
std::unique_ptr<VideoEncoder> video_encoder_ = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user