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

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

Issue 2652893004: Enable audio streams to send padding. (Closed)
Patch Set: Only use padding if BWE extensions. Created 3 years, 10 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 int32_t DeRegisterSendPayload(int8_t payload_type) override; 58 int32_t DeRegisterSendPayload(int8_t payload_type) override;
59 59
60 int8_t SendPayloadType() const; 60 int8_t SendPayloadType() const;
61 61
62 // Register RTP header extension. 62 // Register RTP header extension.
63 int32_t RegisterSendRtpHeaderExtension(RTPExtensionType type, 63 int32_t RegisterSendRtpHeaderExtension(RTPExtensionType type,
64 uint8_t id) override; 64 uint8_t id) override;
65 65
66 int32_t DeregisterSendRtpHeaderExtension(RTPExtensionType type) override; 66 int32_t DeregisterSendRtpHeaderExtension(RTPExtensionType type) override;
67 67
68 bool HasBweExtensions() const override;
69
68 // Get start timestamp. 70 // Get start timestamp.
69 uint32_t StartTimestamp() const override; 71 uint32_t StartTimestamp() const override;
70 72
71 // Configure start timestamp, default is a random number. 73 // Configure start timestamp, default is a random number.
72 void SetStartTimestamp(uint32_t timestamp) override; 74 void SetStartTimestamp(uint32_t timestamp) override;
73 75
74 uint16_t SequenceNumber() const override; 76 uint16_t SequenceNumber() const override;
75 77
76 // Set SequenceNumber, default is a random number. 78 // Set SequenceNumber, default is a random number.
77 void SetSequenceNumber(uint16_t seq) override; 79 void SetSequenceNumber(uint16_t seq) override;
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 PacketLossStats receive_loss_stats_; 353 PacketLossStats receive_loss_stats_;
352 354
353 // The processed RTT from RtcpRttStats. 355 // The processed RTT from RtcpRttStats.
354 rtc::CriticalSection critical_section_rtt_; 356 rtc::CriticalSection critical_section_rtt_;
355 int64_t rtt_ms_; 357 int64_t rtt_ms_;
356 }; 358 };
357 359
358 } // namespace webrtc 360 } // namespace webrtc
359 361
360 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 362 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698