| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 CallStats* GetCallStats() const; | 70 CallStats* GetCallStats() const; |
| 71 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const; | 71 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const; |
| 72 EncoderStateFeedback* GetEncoderStateFeedback() const; | 72 EncoderStateFeedback* GetEncoderStateFeedback() const; |
| 73 int64_t GetPacerQueuingDelayMs() const; | 73 int64_t GetPacerQueuingDelayMs() const; |
| 74 | 74 |
| 75 // Implements BitrateObserver. | 75 // Implements BitrateObserver. |
| 76 void OnNetworkChanged(uint32_t target_bitrate_bps, | 76 void OnNetworkChanged(uint32_t target_bitrate_bps, |
| 77 uint8_t fraction_loss, | 77 uint8_t fraction_loss, |
| 78 int64_t rtt) override; | 78 int64_t rtt) override; |
| 79 | 79 |
| 80 void OnSentPacket(const SentPacket& packet_sent); |
| 81 |
| 80 private: | 82 private: |
| 81 typedef std::map<int, ViEChannel*> ChannelMap; | 83 typedef std::map<int, ViEChannel*> ChannelMap; |
| 82 typedef std::map<int, ViEEncoder*> EncoderMap; | 84 typedef std::map<int, ViEEncoder*> EncoderMap; |
| 83 | 85 |
| 84 bool CreateChannel(int channel_id, | 86 bool CreateChannel(int channel_id, |
| 85 Transport* transport, | 87 Transport* transport, |
| 86 int number_of_cores, | 88 int number_of_cores, |
| 87 ViEEncoder* vie_encoder, | 89 ViEEncoder* vie_encoder, |
| 88 size_t max_rtp_streams, | 90 size_t max_rtp_streams, |
| 89 bool sender, | 91 bool sender, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 108 ProcessThread* const process_thread_; | 110 ProcessThread* const process_thread_; |
| 109 rtc::scoped_ptr<ProcessThread> pacer_thread_; | 111 rtc::scoped_ptr<ProcessThread> pacer_thread_; |
| 110 | 112 |
| 111 rtc::scoped_ptr<BitrateController> bitrate_controller_; | 113 rtc::scoped_ptr<BitrateController> bitrate_controller_; |
| 112 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_; | 114 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_; |
| 113 }; | 115 }; |
| 114 | 116 |
| 115 } // namespace webrtc | 117 } // namespace webrtc |
| 116 | 118 |
| 117 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ | 119 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ |
| OLD | NEW |