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

Unified Diff: media/cast/transport/transport_video_sender.h

Issue 288103002: [Cast] EncodedAudioFrame+EncodedVideoFrame+reference_time --> EncodedFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/transport/transport_audio_sender.cc ('k') | media/cast/transport/transport_video_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/transport/transport_video_sender.h
diff --git a/media/cast/transport/transport_video_sender.h b/media/cast/transport/transport_video_sender.h
index 151065befa9db359e6d80793b8756088d6c17176..3025cec19bd21f440174001c2ab1adeb8c048a20 100644
--- a/media/cast/transport/transport_video_sender.h
+++ b/media/cast/transport/transport_video_sender.h
@@ -37,8 +37,7 @@ class TransportVideoSender : public base::NonThreadSafe {
// Handles the encoded video frames to be processed.
// Frames will be encrypted, packetized and transmitted to the network.
- void InsertCodedVideoFrame(const EncodedVideoFrame* coded_frame,
- const base::TimeTicks& capture_time);
+ void SendFrame(const EncodedFrame& video_frame);
// Retransmision request.
void ResendPackets(
@@ -52,8 +51,8 @@ class TransportVideoSender : public base::NonThreadSafe {
private:
// 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 EncodedFrame& encoded_frame,
+ EncodedFrame* encrypted_video_frame);
const base::TimeDelta rtp_max_delay_;
TransportEncryptionHandler encryptor_;
« no previous file with comments | « media/cast/transport/transport_audio_sender.cc ('k') | media/cast/transport/transport_video_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698