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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 void SetSyncInterface(VoEVideoSync* sync_interface); | 68 void SetSyncInterface(VoEVideoSync* sync_interface); |
69 | 69 |
70 void SetChannelRembStatus(bool sender, bool receiver, ViEChannel* channel); | 70 void SetChannelRembStatus(bool sender, bool receiver, ViEChannel* channel); |
71 | 71 |
72 BitrateController* GetBitrateController() const; | 72 BitrateController* GetBitrateController() const; |
73 CallStats* GetCallStats() const; | 73 CallStats* GetCallStats() const; |
74 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const; | 74 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const; |
75 EncoderStateFeedback* GetEncoderStateFeedback() const; | 75 EncoderStateFeedback* GetEncoderStateFeedback() const; |
76 int64_t GetPacerQueuingDelayMs() const; | 76 int64_t GetPacerQueuingDelayMs() const; |
| 77 PacketRouter* GetPacketRouter() const; |
77 | 78 |
78 // Implements BitrateObserver. | 79 // Implements BitrateObserver. |
79 void OnNetworkChanged(uint32_t target_bitrate_bps, | 80 void OnNetworkChanged(uint32_t target_bitrate_bps, |
80 uint8_t fraction_loss, | 81 uint8_t fraction_loss, |
81 int64_t rtt) override; | 82 int64_t rtt) override; |
82 | 83 |
83 private: | 84 private: |
84 typedef std::map<int, ViEChannel*> ChannelMap; | 85 typedef std::map<int, ViEChannel*> ChannelMap; |
85 typedef std::set<int> ChannelSet; | 86 typedef std::set<int> ChannelSet; |
86 typedef std::map<int, ViEEncoder*> EncoderMap; | 87 typedef std::map<int, ViEEncoder*> EncoderMap; |
(...skipping 28 matching lines...) Expand all Loading... |
115 // Registered at construct time and assumed to outlive this class. | 116 // Registered at construct time and assumed to outlive this class. |
116 ProcessThread* process_thread_; | 117 ProcessThread* process_thread_; |
117 rtc::scoped_ptr<ProcessThread> pacer_thread_; | 118 rtc::scoped_ptr<ProcessThread> pacer_thread_; |
118 | 119 |
119 rtc::scoped_ptr<BitrateController> bitrate_controller_; | 120 rtc::scoped_ptr<BitrateController> bitrate_controller_; |
120 }; | 121 }; |
121 | 122 |
122 } // namespace webrtc | 123 } // namespace webrtc |
123 | 124 |
124 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ | 125 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ |
OLD | NEW |