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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_sender.h

Issue 1725363003: Move RTP module activation into PayloadRouter. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: nuke comment Created 4 years, 9 months 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 uint32_t VideoBitrateSent() const; 107 uint32_t VideoBitrateSent() const;
108 uint32_t FecOverheadRate() const; 108 uint32_t FecOverheadRate() const;
109 uint32_t NackOverheadRate() const; 109 uint32_t NackOverheadRate() const;
110 110
111 void SetTargetBitrate(uint32_t bitrate); 111 void SetTargetBitrate(uint32_t bitrate);
112 uint32_t GetTargetBitrate(); 112 uint32_t GetTargetBitrate();
113 113
114 // Includes size of RTP and FEC headers. 114 // Includes size of RTP and FEC headers.
115 size_t MaxDataPayloadLength() const override; 115 size_t MaxDataPayloadLength() const override;
116 116
117 int32_t RegisterPayload( 117 int32_t RegisterPayload(const char* payload_name,
118 const char payload_name[RTP_PAYLOAD_NAME_SIZE], 118 const int8_t payload_type,
119 const int8_t payload_type, const uint32_t frequency, 119 const uint32_t frequency,
120 const size_t channels, const uint32_t rate); 120 const size_t channels,
121 const uint32_t rate);
121 122
122 int32_t DeRegisterSendPayload(const int8_t payload_type); 123 int32_t DeRegisterSendPayload(const int8_t payload_type);
123 124
124 void SetSendPayloadType(int8_t payload_type); 125 void SetSendPayloadType(int8_t payload_type);
125 126
126 int8_t SendPayloadType() const; 127 int8_t SendPayloadType() const;
127 128
128 int SendPayloadFrequency() const; 129 int SendPayloadFrequency() const;
129 130
130 void SetSendingStatus(bool enabled); 131 void SetSendingStatus(bool enabled);
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 // that the target bitrate is still valid. 495 // that the target bitrate is still valid.
495 rtc::scoped_ptr<CriticalSectionWrapper> target_bitrate_critsect_; 496 rtc::scoped_ptr<CriticalSectionWrapper> target_bitrate_critsect_;
496 uint32_t target_bitrate_ GUARDED_BY(target_bitrate_critsect_); 497 uint32_t target_bitrate_ GUARDED_BY(target_bitrate_critsect_);
497 498
498 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); 499 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender);
499 }; 500 };
500 501
501 } // namespace webrtc 502 } // namespace webrtc
502 503
503 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ 504 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698