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

Unified Diff: media/cast/video_sender/video_sender.h

Issue 109413004: Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating chrome/renderer Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: media/cast/video_sender/video_sender.h
diff --git a/media/cast/video_sender/video_sender.h b/media/cast/video_sender/video_sender.h
index 671fef8d055ccafd1ea717d750f9849d9712711f..ee7125155ad019da0bf857123a58d065158e372e 100644
--- a/media/cast/video_sender/video_sender.h
+++ b/media/cast/video_sender/video_sender.h
@@ -63,7 +63,7 @@ class VideoSender : public base::NonThreadSafe,
// The closure callback is called from the main thread as soon as
// the cast sender is done with the frame; it does not mean that the encoded
// frame has been sent out.
- void InsertCodedVideoFrame(const EncodedVideoFrame* video_frame,
+ void InsertCodedVideoFrame(const transport::EncodedVideoFrame* video_frame,
const base::TimeTicks& capture_time,
const base::Closure callback);
@@ -97,22 +97,22 @@ class VideoSender : public base::NonThreadSafe,
void ScheduleNextSkippedFramesCheck();
void SkippedFramesCheck();
- void SendEncodedVideoFrame(const EncodedVideoFrame* video_frame,
+ void SendEncodedVideoFrame(const transport::EncodedVideoFrame* video_frame,
const base::TimeTicks& capture_time);
void ResendFrame(uint32 resend_frame_id);
void ReceivedAck(uint32 acked_frame_id);
void UpdateFramesInFlight();
void SendEncodedVideoFrameMainThread(
- scoped_ptr<EncodedVideoFrame> video_frame,
+ scoped_ptr<transport::EncodedVideoFrame> video_frame,
const base::TimeTicks& capture_time);
void InitializeTimers();
// Caller must allocate the destination |encrypted_video_frame| the data
// member will be resized to hold the encrypted size.
- bool EncryptVideoFrame(const EncodedVideoFrame& encoded_frame,
- EncodedVideoFrame* encrypted_video_frame);
+ bool EncryptVideoFrame(const transport::EncodedVideoFrame& encoded_frame,
+ transport::EncodedVideoFrame* encrypted_video_frame);
const base::TimeDelta rtp_max_delay_;
const int max_frame_rate_;

Powered by Google App Engine
This is Rietveld 408576698