| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 const char* data, | 325 const char* data, |
| 326 unsigned short dataLengthInBytes); | 326 unsigned short dataLengthInBytes); |
| 327 int GetRTPStatistics(unsigned int& averageJitterMs, | 327 int GetRTPStatistics(unsigned int& averageJitterMs, |
| 328 unsigned int& maxJitterMs, | 328 unsigned int& maxJitterMs, |
| 329 unsigned int& discardedPackets); | 329 unsigned int& discardedPackets); |
| 330 int GetRemoteRTCPReportBlocks(std::vector<ReportBlock>* report_blocks); | 330 int GetRemoteRTCPReportBlocks(std::vector<ReportBlock>* report_blocks); |
| 331 int GetRTPStatistics(CallStatistics& stats); | 331 int GetRTPStatistics(CallStatistics& stats); |
| 332 int SetCodecFECStatus(bool enable); | 332 int SetCodecFECStatus(bool enable); |
| 333 bool GetCodecFECStatus(); | 333 bool GetCodecFECStatus(); |
| 334 void SetNACKStatus(bool enable, int maxNumberOfPackets); | 334 void SetNACKStatus(bool enable, int maxNumberOfPackets); |
| 335 void UpdateSmoothedBitrate(); |
| 335 | 336 |
| 336 // From AudioPacketizationCallback in the ACM | 337 // From AudioPacketizationCallback in the ACM |
| 337 int32_t SendData(FrameType frameType, | 338 int32_t SendData(FrameType frameType, |
| 338 uint8_t payloadType, | 339 uint8_t payloadType, |
| 339 uint32_t timeStamp, | 340 uint32_t timeStamp, |
| 340 const uint8_t* payloadData, | 341 const uint8_t* payloadData, |
| 341 size_t payloadSize, | 342 size_t payloadSize, |
| 342 const RTPFragmentationHeader* fragmentation) override; | 343 const RTPFragmentationHeader* fragmentation) override; |
| 343 | 344 |
| 344 // From ACMVADCallback in the ACM | 345 // From ACMVADCallback in the ACM |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 PacketRouter* packet_router_ = nullptr; | 540 PacketRouter* packet_router_ = nullptr; |
| 540 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_; | 541 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_; |
| 541 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; | 542 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; |
| 542 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; | 543 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; |
| 543 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; | 544 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; |
| 544 | 545 |
| 545 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. | 546 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. |
| 546 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 547 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
| 547 | 548 |
| 548 SmoothingFilterImpl bitrate_smoother_; | 549 SmoothingFilterImpl bitrate_smoother_; |
| 550 rtc::Optional<int> last_bitrate_bps_; |
| 549 }; | 551 }; |
| 550 | 552 |
| 551 } // namespace voe | 553 } // namespace voe |
| 552 } // namespace webrtc | 554 } // namespace webrtc |
| 553 | 555 |
| 554 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ | 556 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ |
| OLD | NEW |