| 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 924f1be86c40fec19e46a891f47d69c5afe8d344..38c07a1e43ff0375754d7d3e1a5339f420fd6ead 100644
|
| --- a/webrtc/video/rtp_video_stream_receiver.h
|
| +++ b/webrtc/video/rtp_video_stream_receiver.h
|
| @@ -20,6 +20,7 @@
|
| #include "webrtc/base/constructormagic.h"
|
| #include "webrtc/base/criticalsection.h"
|
| #include "webrtc/call/rtp_packet_sink_interface.h"
|
| +#include "webrtc/call/secondary_rtp_sinks_container.h"
|
| #include "webrtc/modules/include/module_common_types.h"
|
| #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h"
|
| #include "webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h"
|
| @@ -60,6 +61,7 @@ class RtpVideoStreamReceiver : public RtpData,
|
| public RecoveredPacketReceiver,
|
| public RtpFeedback,
|
| public RtpPacketSinkInterface,
|
| + public SecondaryRtpSinksContainer,
|
| public VCMFrameTypeCallback,
|
| public VCMPacketRequestCallback,
|
| public video_coding::OnReceivedFrameCallback,
|
| @@ -101,6 +103,10 @@ class RtpVideoStreamReceiver : public RtpData,
|
| // Implements RtpPacketSinkInterface.
|
| void OnRtpPacket(const RtpPacketReceived& packet) override;
|
|
|
| + // Implements SecondaryRtpSinksContainer.
|
| + void AddSecondarySink(RtpPacketSinkInterface* sink) override;
|
| + void RemoveSecondarySink(const RtpPacketSinkInterface* sink) override;
|
| +
|
| // Implements RtpData.
|
| int32_t OnReceivedPayloadData(const uint8_t* payload_data,
|
| size_t payload_size,
|
| @@ -201,6 +207,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
|
| + // gets the green light.
|
| + std::vector<RtpPacketSinkInterface*> secondary_sinks_;
|
| };
|
|
|
| } // namespace webrtc
|
|
|