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

Side by Side Diff: webrtc/video/vie_channel.h

Issue 1740133002: Simplify registration of RTP-header extensions. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: header 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
« no previous file with comments | « webrtc/video/video_send_stream.cc ('k') | webrtc/video/vie_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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 int32_t Init(); 81 int32_t Init();
82 82
83 // Sets the encoder to use for the channel. |new_stream| indicates the encoder 83 // Sets the encoder to use for the channel. |new_stream| indicates the encoder
84 // type has changed and we should start a new RTP stream. 84 // type has changed and we should start a new RTP stream.
85 int32_t SetSendCodec(const VideoCodec& video_codec, bool new_stream = true); 85 int32_t SetSendCodec(const VideoCodec& video_codec, bool new_stream = true);
86 86
87 void SetProtectionMode(bool enable_nack, 87 void SetProtectionMode(bool enable_nack,
88 bool enable_fec, 88 bool enable_fec,
89 int payload_type_red, 89 int payload_type_red,
90 int payload_type_fec); 90 int payload_type_fec);
91 int EnableSendTimestampOffset(int id);
92 int EnableSendAbsoluteSendTime(int id);
93 int EnableSendVideoRotation(int id);
94 int EnableSendTransportSequenceNumber(int id);
95 91
96 RtpState GetRtpStateForSsrc(uint32_t ssrc) const; 92 RtpState GetRtpStateForSsrc(uint32_t ssrc) const;
97 93
98 // Gets send statistics for the rtp and rtx stream. 94 // Gets send statistics for the rtp and rtx stream.
99 void GetSendStreamDataCounters(StreamDataCounters* rtp_counters, 95 void GetSendStreamDataCounters(StreamDataCounters* rtp_counters,
100 StreamDataCounters* rtx_counters) const; 96 StreamDataCounters* rtx_counters) const;
101 97
102 void RegisterSendSideDelayObserver(SendSideDelayObserver* observer); 98 void RegisterSendSideDelayObserver(SendSideDelayObserver* observer);
103 99
104 // Called on any new send bitrate estimate. 100 // Called on any new send bitrate estimate.
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 int64_t last_rtt_ms_ GUARDED_BY(crit_); 312 int64_t last_rtt_ms_ GUARDED_BY(crit_);
317 313
318 // RtpRtcp modules, declared last as they use other members on construction. 314 // RtpRtcp modules, declared last as they use other members on construction.
319 const std::vector<RtpRtcp*> rtp_rtcp_modules_; 315 const std::vector<RtpRtcp*> rtp_rtcp_modules_;
320 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); 316 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_);
321 }; 317 };
322 318
323 } // namespace webrtc 319 } // namespace webrtc
324 320
325 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_ 321 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_send_stream.cc ('k') | webrtc/video/vie_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698