| 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() {}
|
| };
|
|
|