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

Side by Side Diff: webrtc/call/rtp_stream_receiver_controller_interface.h

Issue 2968693002: SSRC and RSID may only refer to one sink each in RtpDemuxer (Closed)
Patch Set: Add expectations to OnlyOneSinkPerSsrcGetsOnRtpPacketTriggered. Created 3 years, 4 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 | « webrtc/call/rtp_stream_receiver_controller.cc ('k') | no next file » | 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) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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 #ifndef WEBRTC_CALL_RTP_STREAM_RECEIVER_CONTROLLER_INTERFACE_H_ 10 #ifndef WEBRTC_CALL_RTP_STREAM_RECEIVER_CONTROLLER_INTERFACE_H_
(...skipping 20 matching lines...) Expand all
31 31
32 // This class acts as a factory for RtpStreamReceiver objects. 32 // This class acts as a factory for RtpStreamReceiver objects.
33 class RtpStreamReceiverControllerInterface { 33 class RtpStreamReceiverControllerInterface {
34 public: 34 public:
35 virtual ~RtpStreamReceiverControllerInterface() {} 35 virtual ~RtpStreamReceiverControllerInterface() {}
36 36
37 virtual std::unique_ptr<RtpStreamReceiverInterface> CreateReceiver( 37 virtual std::unique_ptr<RtpStreamReceiverInterface> CreateReceiver(
38 uint32_t ssrc, 38 uint32_t ssrc,
39 RtpPacketSinkInterface* sink) = 0; 39 RtpPacketSinkInterface* sink) = 0;
40 // For registering additional sinks, needed for FlexFEC. 40 // For registering additional sinks, needed for FlexFEC.
41 virtual void AddSink(uint32_t ssrc, RtpPacketSinkInterface* sink) = 0; 41 virtual bool AddSink(uint32_t ssrc, RtpPacketSinkInterface* sink) = 0;
42 virtual size_t RemoveSink(const RtpPacketSinkInterface* sink) = 0; 42 virtual size_t RemoveSink(const RtpPacketSinkInterface* sink) = 0;
43 }; 43 };
44 44
45 } // namespace webrtc 45 } // namespace webrtc
46 46
47 #endif // WEBRTC_CALL_RTP_STREAM_RECEIVER_CONTROLLER_INTERFACE_H_ 47 #endif // WEBRTC_CALL_RTP_STREAM_RECEIVER_CONTROLLER_INTERFACE_H_
OLDNEW
« no previous file with comments | « webrtc/call/rtp_stream_receiver_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698