Index: webrtc/video/video_receive_stream.h |
diff --git a/webrtc/video/video_receive_stream.h b/webrtc/video/video_receive_stream.h |
index 6020d3f88d01368f17a4b73b768bce9ad3241375..a32573de971028132710b4e203ce0d4e514f0a7d 100644 |
--- a/webrtc/video/video_receive_stream.h |
+++ b/webrtc/video/video_receive_stream.h |
@@ -36,6 +36,8 @@ class CallStats; |
class IvfFileWriter; |
class ProcessThread; |
class RTPFragmentationHeader; |
+class RtpStreamReceiverInterface; |
+class RtpStreamReceiverControllerInterface; |
class VCMTiming; |
class VCMJitterEstimator; |
@@ -47,10 +49,10 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream, |
public NackSender, |
public KeyFrameRequestSender, |
public video_coding::OnCompleteFrameCallback, |
- public Syncable, |
- public RtpPacketSinkInterface { |
+ public Syncable { |
public: |
- VideoReceiveStream(int num_cpu_cores, |
+ VideoReceiveStream(RtpStreamReceiverControllerInterface* receiver_controller, |
+ int num_cpu_cores, |
PacketRouter* packet_router, |
VideoReceiveStream::Config config, |
ProcessThread* process_thread, |
@@ -78,9 +80,6 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream, |
void EnableEncodedFrameRecording(rtc::PlatformFile file, |
size_t byte_limit) override; |
- // RtpPacketSinkInterface. |
- void OnRtpPacket(const RtpPacketReceived& packet) override; |
- |
// Implements rtc::VideoSinkInterface<VideoFrame>. |
void OnFrame(const VideoFrame& video_frame) override; |
@@ -137,6 +136,9 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream, |
// Members for the new jitter buffer experiment. |
std::unique_ptr<VCMJitterEstimator> jitter_estimator_; |
std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; |
+ |
+ std::unique_ptr<RtpStreamReceiverInterface> media_receiver_; |
+ std::unique_ptr<RtpStreamReceiverInterface> rtx_receiver_; |
}; |
} // namespace internal |
} // namespace webrtc |