| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void SetMuted(bool muted) override; | 57 void SetMuted(bool muted) override; |
| 58 webrtc::AudioSendStream::Stats GetStats() const override; | 58 webrtc::AudioSendStream::Stats GetStats() const override; |
| 59 | 59 |
| 60 void SignalNetworkState(NetworkState state); | 60 void SignalNetworkState(NetworkState state); |
| 61 bool DeliverRtcp(const uint8_t* packet, size_t length); | 61 bool DeliverRtcp(const uint8_t* packet, size_t length); |
| 62 | 62 |
| 63 // Implements BitrateAllocatorObserver. | 63 // Implements BitrateAllocatorObserver. |
| 64 uint32_t OnBitrateUpdated(uint32_t bitrate_bps, | 64 uint32_t OnBitrateUpdated(uint32_t bitrate_bps, |
| 65 uint8_t fraction_loss, | 65 uint8_t fraction_loss, |
| 66 int64_t rtt, | 66 int64_t rtt, |
| 67 int64_t probing_interval_ms) override; | 67 int64_t bwe_period_ms) override; |
| 68 | 68 |
| 69 // From PacketFeedbackObserver. | 69 // From PacketFeedbackObserver. |
| 70 void OnPacketAdded(uint32_t ssrc, uint16_t seq_num) override; | 70 void OnPacketAdded(uint32_t ssrc, uint16_t seq_num) override; |
| 71 void OnPacketFeedbackVector( | 71 void OnPacketFeedbackVector( |
| 72 const std::vector<PacketFeedback>& packet_feedback_vector) override; | 72 const std::vector<PacketFeedback>& packet_feedback_vector) override; |
| 73 | 73 |
| 74 const webrtc::AudioSendStream::Config& config() const; | 74 const webrtc::AudioSendStream::Config& config() const; |
| 75 void SetTransportOverhead(int transport_overhead_per_packet); | 75 void SetTransportOverhead(int transport_overhead_per_packet); |
| 76 | 76 |
| 77 private: | 77 private: |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 rtc::CriticalSection packet_loss_tracker_cs_; | 110 rtc::CriticalSection packet_loss_tracker_cs_; |
| 111 TransportFeedbackPacketLossTracker packet_loss_tracker_ | 111 TransportFeedbackPacketLossTracker packet_loss_tracker_ |
| 112 GUARDED_BY(&packet_loss_tracker_cs_); | 112 GUARDED_BY(&packet_loss_tracker_cs_); |
| 113 | 113 |
| 114 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream); | 114 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream); |
| 115 }; | 115 }; |
| 116 } // namespace internal | 116 } // namespace internal |
| 117 } // namespace webrtc | 117 } // namespace webrtc |
| 118 | 118 |
| 119 #endif // WEBRTC_AUDIO_AUDIO_SEND_STREAM_H_ | 119 #endif // WEBRTC_AUDIO_AUDIO_SEND_STREAM_H_ |
| OLD | NEW |