Chromium Code Reviews| 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..f00597ec894592c294a1ba8538145b1b87ceb109 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,10 @@ class RtpVideoStreamReceiver : public RtpData, |
| int16_t last_payload_type_ = -1; |
| bool has_received_frame_; |
| + |
| + // TODO(eladalon): !!! Unit-tests, here and elsewhere, after initial approach |
|
danilchap
2017/07/25 17:29:54
remove the comment
eladalon
2017/07/26 08:20:29
Done.
|
| + // gets the green light. |
| + std::vector<RtpPacketSinkInterface*> secondary_sinks_; |
| }; |
| } // namespace webrtc |