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

Unified Diff: webrtc/video_receive_stream.h

Issue 2974453002: Protected streams report RTP messages directly to the FlexFec streams (Closed)
Patch Set: Appease lint. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/video_receive_stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_receive_stream.h
diff --git a/webrtc/video_receive_stream.h b/webrtc/video_receive_stream.h
index 863cb2e088267b8dfabfb1fd98b187501c1faf02..48d16a8ea1b7f883d8652deceb694512c0946cfa 100644
--- a/webrtc/video_receive_stream.h
+++ b/webrtc/video_receive_stream.h
@@ -25,6 +25,7 @@
namespace webrtc {
+class RtpPacketSinkInterface;
class VideoDecoder;
class VideoReceiveStream {
@@ -221,6 +222,13 @@ class VideoReceiveStream {
EnableEncodedFrameRecording(rtc::kInvalidPlatformFileValue, 0);
}
+ // RtpDemuxer only forwards a given RTP packet to one sink. However, some
+ // sinks, such as FlexFEC, might wish to be informed of all of the packets
+ // a given sink receives (or any set of sinks). They may do so by registering
+ // themselves as secondary sinks.
+ virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0;
+ virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0;
+
protected:
virtual ~VideoReceiveStream() {}
};
« no previous file with comments | « webrtc/video/video_receive_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698