Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: media/cast/video_receiver/video_receiver.h

Issue 70713002: Cast: Restructure RTCP interface to better fit our usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing line lost in merge Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_VIDEO_RECEIVER_VIDEO_RECEIVER_H_ 5 #ifndef MEDIA_CAST_VIDEO_RECEIVER_VIDEO_RECEIVER_H_
6 #define MEDIA_CAST_VIDEO_RECEIVER_VIDEO_RECEIVER_H_ 6 #define MEDIA_CAST_VIDEO_RECEIVER_VIDEO_RECEIVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Actually send the next cast message. 93 // Actually send the next cast message.
94 void SendNextCastMessage(); 94 void SendNextCastMessage();
95 95
96 // Actually send the next RTCP report. 96 // Actually send the next RTCP report.
97 void SendNextRtcpReport(); 97 void SendNextRtcpReport();
98 98
99 scoped_ptr<VideoDecoder> video_decoder_; 99 scoped_ptr<VideoDecoder> video_decoder_;
100 scoped_refptr<CastEnvironment> cast_environment_; 100 scoped_refptr<CastEnvironment> cast_environment_;
101 scoped_ptr<Framer> framer_; 101 scoped_ptr<Framer> framer_;
102 const VideoCodec codec_; 102 const VideoCodec codec_;
103 const uint32 incoming_ssrc_;
104 base::TimeDelta target_delay_delta_; 103 base::TimeDelta target_delay_delta_;
105 base::TimeDelta frame_delay_; 104 base::TimeDelta frame_delay_;
106 scoped_ptr<LocalRtpVideoData> incoming_payload_callback_; 105 scoped_ptr<LocalRtpVideoData> incoming_payload_callback_;
107 scoped_ptr<LocalRtpVideoFeedback> incoming_payload_feedback_; 106 scoped_ptr<LocalRtpVideoFeedback> incoming_payload_feedback_;
108 RtpReceiver rtp_receiver_; 107 RtpReceiver rtp_receiver_;
109 scoped_ptr<Rtcp> rtcp_; 108 scoped_ptr<Rtcp> rtcp_;
110 scoped_ptr<RtpReceiverStatistics> rtp_video_receiver_statistics_; 109 scoped_ptr<RtpReceiverStatistics> rtp_video_receiver_statistics_;
111 base::TimeTicks time_last_sent_cast_message_; 110 base::TimeTicks time_last_sent_cast_message_;
112 base::TimeDelta time_offset_; // Sender-receiver offset estimation. 111 base::TimeDelta time_offset_; // Sender-receiver offset estimation.
113 112
114 std::list<VideoFrameEncodedCallback> queued_encoded_callbacks_; 113 std::list<VideoFrameEncodedCallback> queued_encoded_callbacks_;
115 114
116 bool time_incoming_packet_updated_; 115 bool time_incoming_packet_updated_;
117 base::TimeTicks time_incoming_packet_; 116 base::TimeTicks time_incoming_packet_;
118 uint32 incoming_rtp_timestamp_; 117 uint32 incoming_rtp_timestamp_;
119 118
120 base::WeakPtrFactory<VideoReceiver> weak_factory_; 119 base::WeakPtrFactory<VideoReceiver> weak_factory_;
121 120
122 DISALLOW_COPY_AND_ASSIGN(VideoReceiver); 121 DISALLOW_COPY_AND_ASSIGN(VideoReceiver);
123 }; 122 };
124 123
125 } // namespace cast 124 } // namespace cast
126 } // namespace media 125 } // namespace media
127 126
128 #endif // MEDIA_CAST_VIDEO_RECEIVER_VIDEO_RECEIVER_H_ 127 #endif // MEDIA_CAST_VIDEO_RECEIVER_VIDEO_RECEIVER_H_
OLDNEW
« no previous file with comments | « media/cast/rtcp/test_rtcp_packet_builder.cc ('k') | media/cast/video_receiver/video_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698