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

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

Issue 1247293002: Add support for transport wide sequence numbers (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 5 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 int SetSenderBufferingMode(int target_delay_ms); 145 int SetSenderBufferingMode(int target_delay_ms);
146 int SetReceiverBufferingMode(int target_delay_ms); 146 int SetReceiverBufferingMode(int target_delay_ms);
147 int32_t SetKeyFrameRequestMethod(const KeyFrameRequestMethod method); 147 int32_t SetKeyFrameRequestMethod(const KeyFrameRequestMethod method);
148 void EnableRemb(bool enable); 148 void EnableRemb(bool enable);
149 int SetSendTimestampOffsetStatus(bool enable, int id); 149 int SetSendTimestampOffsetStatus(bool enable, int id);
150 int SetReceiveTimestampOffsetStatus(bool enable, int id); 150 int SetReceiveTimestampOffsetStatus(bool enable, int id);
151 int SetSendAbsoluteSendTimeStatus(bool enable, int id); 151 int SetSendAbsoluteSendTimeStatus(bool enable, int id);
152 int SetReceiveAbsoluteSendTimeStatus(bool enable, int id); 152 int SetReceiveAbsoluteSendTimeStatus(bool enable, int id);
153 int SetSendVideoRotationStatus(bool enable, int id); 153 int SetSendVideoRotationStatus(bool enable, int id);
154 int SetReceiveVideoRotationStatus(bool enable, int id); 154 int SetReceiveVideoRotationStatus(bool enable, int id);
155 int SetSendTransportSequenceNumber(bool enable, int id);
156 int SetReceiveTransportSequenceNumber(bool enable, int id);
155 void SetRtcpXrRrtrStatus(bool enable); 157 void SetRtcpXrRrtrStatus(bool enable);
156 void SetTransmissionSmoothingStatus(bool enable); 158 void SetTransmissionSmoothingStatus(bool enable);
157 void EnableTMMBR(bool enable); 159 void EnableTMMBR(bool enable);
158 160
159 // Sets SSRC for outgoing stream. 161 // Sets SSRC for outgoing stream.
160 int32_t SetSSRC(const uint32_t SSRC, 162 int32_t SetSSRC(const uint32_t SSRC,
161 const StreamType usage, 163 const StreamType usage,
162 const unsigned char simulcast_idx); 164 const unsigned char simulcast_idx);
163 165
164 // Gets SSRC for outgoing stream number |idx|. 166 // Gets SSRC for outgoing stream number |idx|.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 int32_t id, 332 int32_t id,
331 bool receiver_only, 333 bool receiver_only,
332 ReceiveStatistics* receive_statistics, 334 ReceiveStatistics* receive_statistics,
333 Transport* outgoing_transport, 335 Transport* outgoing_transport,
334 RtcpIntraFrameObserver* intra_frame_callback, 336 RtcpIntraFrameObserver* intra_frame_callback,
335 RtcpBandwidthObserver* bandwidth_callback, 337 RtcpBandwidthObserver* bandwidth_callback,
336 RtcpRttStats* rtt_stats, 338 RtcpRttStats* rtt_stats,
337 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer, 339 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer,
338 RemoteBitrateEstimator* remote_bitrate_estimator, 340 RemoteBitrateEstimator* remote_bitrate_estimator,
339 PacedSender* paced_sender, 341 PacedSender* paced_sender,
342 PacketRouter* packet_router,
340 BitrateStatisticsObserver* send_bitrate_observer, 343 BitrateStatisticsObserver* send_bitrate_observer,
341 FrameCountObserver* send_frame_count_observer, 344 FrameCountObserver* send_frame_count_observer,
342 SendSideDelayObserver* send_side_delay_observer, 345 SendSideDelayObserver* send_side_delay_observer,
343 size_t num_modules); 346 size_t num_modules);
344 347
345 // Assumed to be protected. 348 // Assumed to be protected.
346 void StartDecodeThread(); 349 void StartDecodeThread();
347 void StopDecodeThread(); 350 void StopDecodeThread();
348 351
349 void ProcessNACKRequest(const bool enable); 352 void ProcessNACKRequest(const bool enable);
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 const rtc::scoped_ptr<ReportBlockStats> report_block_stats_sender_; 491 const rtc::scoped_ptr<ReportBlockStats> report_block_stats_sender_;
489 492
490 // RtpRtcp modules, declared last as they use other members on construction. 493 // RtpRtcp modules, declared last as they use other members on construction.
491 const std::vector<RtpRtcp*> rtp_rtcp_modules_; 494 const std::vector<RtpRtcp*> rtp_rtcp_modules_;
492 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); 495 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_);
493 }; 496 };
494 497
495 } // namespace webrtc 498 } // namespace webrtc
496 499
497 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_ 500 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698