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

Side by Side Diff: webrtc/modules/rtp_rtcp/include/rtp_rtcp.h

Issue 1864313003: Move Ownership of RtpModules to VideoSendStream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 8 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
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 /* 203 /*
204 * Get SequenceNumber 204 * Get SequenceNumber
205 */ 205 */
206 virtual uint16_t SequenceNumber() const = 0; 206 virtual uint16_t SequenceNumber() const = 0;
207 207
208 /* 208 /*
209 * Set SequenceNumber, default is a random number 209 * Set SequenceNumber, default is a random number
210 */ 210 */
211 virtual void SetSequenceNumber(uint16_t seq) = 0; 211 virtual void SetSequenceNumber(uint16_t seq) = 0;
212 212
213 // Returns true if the ssrc matched this module, false otherwise. 213 virtual void SetRtpState(const RtpState& rtp_state) = 0;
214 virtual bool SetRtpStateForSsrc(uint32_t ssrc, 214 virtual void SetRtxState(const RtpState& rtp_state) = 0;
215 const RtpState& rtp_state) = 0; 215 virtual RtpState GetRtpState() const = 0;
216 virtual bool GetRtpStateForSsrc(uint32_t ssrc, RtpState* rtp_state) = 0; 216 virtual RtpState GetRtxState() const = 0;
217 217
218 /* 218 /*
219 * Get SSRC 219 * Get SSRC
220 */ 220 */
221 virtual uint32_t SSRC() const = 0; 221 virtual uint32_t SSRC() const = 0;
222 222
223 /* 223 /*
224 * configure SSRC, default is a random number 224 * configure SSRC, default is a random number
225 */ 225 */
226 virtual void SetSSRC(uint32_t ssrc) = 0; 226 virtual void SetSSRC(uint32_t ssrc) = 0;
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 657
658 /* 658 /*
659 * send a request for a keyframe 659 * send a request for a keyframe
660 * 660 *
661 * return -1 on failure else 0 661 * return -1 on failure else 0
662 */ 662 */
663 virtual int32_t RequestKeyFrame() = 0; 663 virtual int32_t RequestKeyFrame() = 0;
664 }; 664 };
665 } // namespace webrtc 665 } // namespace webrtc
666 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ 666 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698