OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void DeleteChannel(int channel_id); | 62 void DeleteChannel(int channel_id); |
63 ViEChannel* GetChannel(int channel_id) const; | 63 ViEChannel* GetChannel(int channel_id) const; |
64 ViEEncoder* GetEncoder(int channel_id) const; | 64 ViEEncoder* GetEncoder(int channel_id) const; |
65 void SetSyncInterface(VoEVideoSync* sync_interface); | 65 void SetSyncInterface(VoEVideoSync* sync_interface); |
66 void SetBweBitrates(int min_bitrate_bps, | 66 void SetBweBitrates(int min_bitrate_bps, |
67 int start_bitrate_bps, | 67 int start_bitrate_bps, |
68 int max_bitrate_bps); | 68 int max_bitrate_bps); |
69 | 69 |
70 void SetChannelRembStatus(bool sender, bool receiver, ViEChannel* channel); | 70 void SetChannelRembStatus(bool sender, bool receiver, ViEChannel* channel); |
71 | 71 |
| 72 void SignalNetworkState(NetworkState state); |
| 73 |
72 BitrateController* GetBitrateController() const; | 74 BitrateController* GetBitrateController() const; |
73 CallStats* GetCallStats() const; | 75 CallStats* GetCallStats() const; |
74 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const; | 76 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const; |
75 EncoderStateFeedback* GetEncoderStateFeedback() const; | 77 EncoderStateFeedback* GetEncoderStateFeedback() const; |
76 int64_t GetPacerQueuingDelayMs() const; | 78 int64_t GetPacerQueuingDelayMs() const; |
77 | 79 |
78 // Implements BitrateObserver. | 80 // Implements BitrateObserver. |
79 void OnNetworkChanged(uint32_t target_bitrate_bps, | 81 void OnNetworkChanged(uint32_t target_bitrate_bps, |
80 uint8_t fraction_loss, | 82 uint8_t fraction_loss, |
81 int64_t rtt) override; | 83 int64_t rtt) override; |
(...skipping 30 matching lines...) Expand all Loading... |
112 rtc::scoped_ptr<ProcessThread> pacer_thread_; | 114 rtc::scoped_ptr<ProcessThread> pacer_thread_; |
113 | 115 |
114 rtc::scoped_ptr<BitrateController> bitrate_controller_; | 116 rtc::scoped_ptr<BitrateController> bitrate_controller_; |
115 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_; | 117 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_; |
116 int min_bitrate_bps_; | 118 int min_bitrate_bps_; |
117 }; | 119 }; |
118 | 120 |
119 } // namespace webrtc | 121 } // namespace webrtc |
120 | 122 |
121 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ | 123 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ |
OLD | NEW |