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

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: Addressed hclam@'s first round comments. Fixed chrome unit_tests compiles. 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
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 9bb2267216fc3a05d6957b97cdfed3f53fa3d154..1458caed60bdbcc13aac8a4e3c707d4bc75cb3da 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(
@@ -53,8 +52,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_;

Powered by Google App Engine
This is Rietveld 408576698