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

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

Issue 192843002: Cast:Adding signaling and infrastructure for adjustable delay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 6 years, 9 months 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 | Annotate | Revision Log
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_SENDER_VIDEO_SENDER_H_ 5 #ifndef MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_
6 #define MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ 6 #define MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 void SendEncodedVideoFrameToTransport( 101 void SendEncodedVideoFrameToTransport(
102 scoped_ptr<transport::EncodedVideoFrame> encoded_frame, 102 scoped_ptr<transport::EncodedVideoFrame> encoded_frame,
103 const base::TimeTicks& capture_time); 103 const base::TimeTicks& capture_time);
104 104
105 void InitializeTimers(); 105 void InitializeTimers();
106 106
107 void ResendPacketsOnTransportThread( 107 void ResendPacketsOnTransportThread(
108 const transport::MissingFramesAndPacketsMap& missing_packets); 108 const transport::MissingFramesAndPacketsMap& missing_packets);
109 109
110 const base::TimeDelta rtp_max_delay_; 110 base::TimeDelta rtp_max_delay_;
111 const int max_frame_rate_; 111 const int max_frame_rate_;
112 112
113 scoped_refptr<CastEnvironment> cast_environment_; 113 scoped_refptr<CastEnvironment> cast_environment_;
114 transport::CastTransportSender* const transport_sender_; 114 transport::CastTransportSender* const transport_sender_;
115 115
116 // Subscribes to raw events. 116 // Subscribes to raw events.
117 // Processes raw audio events to be sent over to the cast receiver via RTCP. 117 // Processes raw audio events to be sent over to the cast receiver via RTCP.
118 SenderRtcpEventSubscriber event_subscriber_; 118 SenderRtcpEventSubscriber event_subscriber_;
119 119
120 scoped_ptr<LocalRtcpVideoSenderFeedback> rtcp_feedback_; 120 scoped_ptr<LocalRtcpVideoSenderFeedback> rtcp_feedback_;
(...skipping 22 matching lines...) Expand all
143 bool active_session_; 143 bool active_session_;
144 base::WeakPtrFactory<VideoSender> weak_factory_; 144 base::WeakPtrFactory<VideoSender> weak_factory_;
145 145
146 DISALLOW_COPY_AND_ASSIGN(VideoSender); 146 DISALLOW_COPY_AND_ASSIGN(VideoSender);
147 }; 147 };
148 148
149 } // namespace cast 149 } // namespace cast
150 } // namespace media 150 } // namespace media
151 151
152 #endif // MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ 152 #endif // MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_
OLDNEW
« no previous file with comments | « media/cast/video_receiver/video_receiver_unittest.cc ('k') | media/cast/video_sender/video_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698