Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Side by Side Diff: webrtc/voice_engine/channel.h

Issue 2437503004: Set actual transport overhead in rtp_rtcp (Closed)
Patch Set: Rename SignalTransportOverheadChanged to UpdateTransportOverhead. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/video/video_send_stream_tests.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 rtc::CritScope lock(&assoc_send_channel_lock_); 410 rtc::CritScope lock(&assoc_send_channel_lock_);
411 associate_send_channel_ = channel; 411 associate_send_channel_ = channel;
412 } 412 }
413 413
414 // Disassociate a send channel if it was associated. 414 // Disassociate a send channel if it was associated.
415 void DisassociateSendChannel(int channel_id); 415 void DisassociateSendChannel(int channel_id);
416 416
417 // Set a RtcEventLog logging object. 417 // Set a RtcEventLog logging object.
418 void SetRtcEventLog(RtcEventLog* event_log); 418 void SetRtcEventLog(RtcEventLog* event_log);
419 419
420 void SetTransportOverhead(int transport_overhead_per_packet);
421
420 protected: 422 protected:
421 void OnIncomingFractionLoss(int fraction_lost); 423 void OnIncomingFractionLoss(int fraction_lost);
422 424
423 private: 425 private:
424 bool ReceivePacket(const uint8_t* packet, 426 bool ReceivePacket(const uint8_t* packet,
425 size_t packet_length, 427 size_t packet_length,
426 const RTPHeader& header, 428 const RTPHeader& header,
427 bool in_order); 429 bool in_order);
428 bool HandleRtxPacket(const uint8_t* packet, 430 bool HandleRtxPacket(const uint8_t* packet,
429 size_t packet_length, 431 size_t packet_length,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; 547 std::unique_ptr<RateLimiter> retransmission_rate_limiter_;
546 548
547 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. 549 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed.
548 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 550 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
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_
OLDNEW
« no previous file with comments | « webrtc/video/video_send_stream_tests.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698