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

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

Issue 2007743003: Add sender controlled playout delay limits (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@cleanup_rtp_hdr_extensions
Patch Set: Created 4 years, 7 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 // VoERTP_RTCP 319 // VoERTP_RTCP
320 int SetLocalSSRC(unsigned int ssrc); 320 int SetLocalSSRC(unsigned int ssrc);
321 int GetLocalSSRC(unsigned int& ssrc); 321 int GetLocalSSRC(unsigned int& ssrc);
322 int GetRemoteSSRC(unsigned int& ssrc); 322 int GetRemoteSSRC(unsigned int& ssrc);
323 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id); 323 int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id);
324 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); 324 int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id);
325 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id); 325 int SetSendAbsoluteSenderTimeStatus(bool enable, unsigned char id);
326 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id); 326 int SetReceiveAbsoluteSenderTimeStatus(bool enable, unsigned char id);
327 void EnableSendTransportSequenceNumber(int id); 327 void EnableSendTransportSequenceNumber(int id);
328 void EnableReceiveTransportSequenceNumber(int id); 328 void EnableReceiveTransportSequenceNumber(int id);
329 void EnableSendPlayoutDelayLimit(int id);
330 void EnableReceivePlayoutDelayLimit(int id);
329 331
330 void RegisterSenderCongestionControlObjects( 332 void RegisterSenderCongestionControlObjects(
331 RtpPacketSender* rtp_packet_sender, 333 RtpPacketSender* rtp_packet_sender,
332 TransportFeedbackObserver* transport_feedback_observer, 334 TransportFeedbackObserver* transport_feedback_observer,
333 PacketRouter* packet_router); 335 PacketRouter* packet_router);
334 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router); 336 void RegisterReceiverCongestionControlObjects(PacketRouter* packet_router);
335 void ResetCongestionControlObjects(); 337 void ResetCongestionControlObjects();
336 338
337 void SetRTCPStatus(bool enable); 339 void SetRTCPStatus(bool enable);
338 int GetRTCPStatus(bool& enabled); 340 int GetRTCPStatus(bool& enabled);
339 int SetRTCP_CNAME(const char cName[256]); 341 int SetRTCP_CNAME(const char cName[256]);
340 int GetRemoteRTCP_CNAME(char cName[256]); 342 int GetRemoteRTCP_CNAME(char cName[256]);
341 int GetRemoteRTCPData(unsigned int& NTPHigh, 343 int GetRemoteRTCPData(unsigned int& NTPHigh,
342 unsigned int& NTPLow, 344 unsigned int& NTPLow,
343 unsigned int& timestamp, 345 unsigned int& timestamp,
344 unsigned int& playoutTimestamp, 346 unsigned int& playoutTimestamp,
345 unsigned int* jitter, 347 unsigned int* jitter,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 PacketRouter* packet_router_ = nullptr; 577 PacketRouter* packet_router_ = nullptr;
576 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_; 578 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_;
577 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; 579 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_;
578 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; 580 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_;
579 }; 581 };
580 582
581 } // namespace voe 583 } // namespace voe
582 } // namespace webrtc 584 } // namespace webrtc
583 585
584 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 586 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698