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

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

Issue 2660253002: Do not regenerate ssrc on SetSendingStatus (Closed)
Patch Set: Rebase 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const uint32_t frequency, 80 const uint32_t frequency,
81 const size_t channels, 81 const size_t channels,
82 const uint32_t rate); 82 const uint32_t rate);
83 83
84 int32_t DeRegisterSendPayload(const int8_t payload_type); 84 int32_t DeRegisterSendPayload(const int8_t payload_type);
85 85
86 void SetSendPayloadType(int8_t payload_type); 86 void SetSendPayloadType(int8_t payload_type);
87 87
88 int8_t SendPayloadType() const; 88 int8_t SendPayloadType() const;
89 89
90 void SetSendingStatus(bool enabled);
91
92 void SetSendingMediaStatus(bool enabled); 90 void SetSendingMediaStatus(bool enabled);
93 bool SendingMedia() const; 91 bool SendingMedia() const;
94 92
95 void GetDataCounters(StreamDataCounters* rtp_stats, 93 void GetDataCounters(StreamDataCounters* rtp_stats,
96 StreamDataCounters* rtx_stats) const; 94 StreamDataCounters* rtx_stats) const;
97 95
98 uint32_t TimestampOffset() const; 96 uint32_t TimestampOffset() const;
99 void SetTimestampOffset(uint32_t timestamp); 97 void SetTimestampOffset(uint32_t timestamp);
100 98
101 uint32_t GenerateNewSSRC(); 99 uint32_t GenerateNewSSRC();
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 OverheadObserver* overhead_observer_; 326 OverheadObserver* overhead_observer_;
329 327
330 const bool send_side_bwe_with_overhead_; 328 const bool send_side_bwe_with_overhead_;
331 329
332 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); 330 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender);
333 }; 331 };
334 332
335 } // namespace webrtc 333 } // namespace webrtc
336 334
337 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ 335 #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