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

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

Issue 2362373002: Remove chain of methods in RtpRtcp module to get current payload frequency for RTCP SRs (Closed)
Patch Set: comment Created 4 years, 2 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const uint32_t frequency, 73 const uint32_t frequency,
74 const size_t channels, 74 const size_t channels,
75 const uint32_t rate); 75 const uint32_t rate);
76 76
77 int32_t DeRegisterSendPayload(const int8_t payload_type); 77 int32_t DeRegisterSendPayload(const int8_t payload_type);
78 78
79 void SetSendPayloadType(int8_t payload_type); 79 void SetSendPayloadType(int8_t payload_type);
80 80
81 int8_t SendPayloadType() const; 81 int8_t SendPayloadType() const;
82 82
83 int SendPayloadFrequency() const;
84
85 void SetSendingStatus(bool enabled); 83 void SetSendingStatus(bool enabled);
86 84
87 void SetSendingMediaStatus(bool enabled); 85 void SetSendingMediaStatus(bool enabled);
88 bool SendingMedia() const; 86 bool SendingMedia() const;
89 87
90 void GetDataCounters(StreamDataCounters* rtp_stats, 88 void GetDataCounters(StreamDataCounters* rtp_stats,
91 StreamDataCounters* rtx_stats) const; 89 StreamDataCounters* rtx_stats) const;
92 90
93 uint32_t TimestampOffset() const; 91 uint32_t TimestampOffset() const;
94 void SetTimestampOffset(uint32_t timestamp); 92 void SetTimestampOffset(uint32_t timestamp);
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); 430 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_);
433 431
434 RateLimiter* const retransmission_rate_limiter_; 432 RateLimiter* const retransmission_rate_limiter_;
435 433
436 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); 434 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender);
437 }; 435 };
438 436
439 } // namespace webrtc 437 } // namespace webrtc
440 438
441 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ 439 #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