| Index: webrtc/video/rtp_video_stream_receiver.h
|
| diff --git a/webrtc/video/rtp_video_stream_receiver.h b/webrtc/video/rtp_video_stream_receiver.h
|
| index afcc696da16e78abdfe3a0729cca448d25c5aee7..a7e1a69637c1cf11abb141d708c12d6b7a291b8b 100644
|
| --- a/webrtc/video/rtp_video_stream_receiver.h
|
| +++ b/webrtc/video/rtp_video_stream_receiver.h
|
| @@ -142,6 +142,9 @@ class RtpVideoStreamReceiver : public RtpData,
|
| rtc::Optional<int64_t> LastReceivedPacketMs() const;
|
| rtc::Optional<int64_t> LastReceivedKeyframePacketMs() const;
|
|
|
| + void AddSecondarySink(RtpPacketSinkInterface* sink);
|
| + void RemoveSecondarySink(const RtpPacketSinkInterface* sink);
|
| +
|
| private:
|
| bool AddReceiveCodec(const VideoCodec& video_codec);
|
| void ReceivePacket(const uint8_t* packet,
|
| @@ -201,6 +204,8 @@ class RtpVideoStreamReceiver : public RtpData,
|
| int16_t last_payload_type_ = -1;
|
|
|
| bool has_received_frame_;
|
| +
|
| + std::vector<RtpPacketSinkInterface*> secondary_sinks_;
|
| };
|
|
|
| } // namespace webrtc
|
|
|