Index: remoting/protocol/rtp_video_reader.h |
diff --git a/remoting/protocol/rtp_video_reader.h b/remoting/protocol/rtp_video_reader.h |
index ccfb53eec06b10665ad4f44f047994803a41f512..a476750206627a3b0e9a846c7f456f93ce2f0426 100644 |
--- a/remoting/protocol/rtp_video_reader.h |
+++ b/remoting/protocol/rtp_video_reader.h |
@@ -23,10 +23,21 @@ class RtpVideoReader : public VideoReader { |
virtual void Close(); |
private: |
- void OnRtpPacket(const RtpPacket& rtp_packet); |
+ friend class RtpVideoReaderTest; |
+ |
+ typedef std::deque<const RtpPacket*> PacketsQueue; |
+ |
+ void OnRtpPacket(RtpPacket* rtp_packet); |
+ void CheckFullPacket(PacketsQueue::iterator pos); |
+ void RebuildVideoPacket(PacketsQueue::iterator from, |
+ PacketsQueue::iterator to); |
+ void ResetQueue(); |
RtpReader rtp_reader_; |
+ PacketsQueue packets_queue_; |
+ uint32 last_sequence_number_; |
+ |
// The stub that processes all received packets. |
VideoStub* video_stub_; |