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

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

Issue 288103002: [Cast] EncodedAudioFrame+EncodedVideoFrame+reference_time --> EncodedFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_audio_sender.h
diff --git a/media/cast/transport/transport_audio_sender.h b/media/cast/transport/transport_audio_sender.h
index 33108e01b3219ae366f063dbcf15480b3fc3798e..65ce04987f7d88caf4fc9ec018f70aa121686606 100644
--- a/media/cast/transport/transport_audio_sender.h
+++ b/media/cast/transport/transport_audio_sender.h
@@ -32,8 +32,7 @@ class TransportAudioSender : public base::NonThreadSafe {
// Handles the encoded audio frames to be processed.
// Frames will be encrypted, packetized and transmitted to the network.
- void InsertCodedAudioFrame(const EncodedAudioFrame* audio_frame,
- const base::TimeTicks& recorded_time);
+ void SendFrame(const EncodedFrame& audio_frame);
// Retransmision request.
void ResendPackets(
@@ -50,8 +49,8 @@ class TransportAudioSender : public base::NonThreadSafe {
// Caller must allocate the destination |encrypted_frame|. The data member
// will be resized to hold the encrypted size.
- bool EncryptAudioFrame(const EncodedAudioFrame& audio_frame,
- EncodedAudioFrame* encrypted_frame);
+ bool EncryptAudioFrame(const EncodedFrame& audio_frame,
+ EncodedFrame* encrypted_frame);
RtpSender rtp_sender_;
TransportEncryptionHandler encryptor_;

Powered by Google App Engine
This is Rietveld 408576698