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

Unified Diff: media/cast/net/cast_transport_sender.h

Issue 519443002: Cast: merge InsertCoded{Audio,Video}Frame into InsertFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more missing test file fixed Created 6 years, 3 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 | « chrome/renderer/media/cast_transport_sender_ipc.cc ('k') | media/cast/net/cast_transport_sender_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/cast_transport_sender.h
diff --git a/media/cast/net/cast_transport_sender.h b/media/cast/net/cast_transport_sender.h
index 9c75d12275372c5041f1ffe2efd8663daf3b9c99..b3d5c701ee697ec8f41bfa356c100d6436773c67 100644
--- a/media/cast/net/cast_transport_sender.h
+++ b/media/cast/net/cast_transport_sender.h
@@ -70,11 +70,9 @@ class CastTransportSender : public base::NonThreadSafe {
const RtcpCastMessageCallback& cast_message_cb,
const RtcpRttCallback& rtt_cb) = 0;
- // The following two functions handle the encoded media frames (audio and
- // video) to be processed.
- // Frames will be encrypted, packetized and transmitted to the network.
- virtual void InsertCodedAudioFrame(const EncodedFrame& audio_frame) = 0;
- virtual void InsertCodedVideoFrame(const EncodedFrame& video_frame) = 0;
+ // Encrypt, packetize and transmit |frame|. |ssrc| must refer to a
+ // a channel already established with InitializeAudio / InitializeVideo.
+ virtual void InsertFrame(uint32 ssrc, const EncodedFrame& frame) = 0;
// Sends a RTCP sender report to the receiver.
// |ssrc| is the SSRC for this report.
« no previous file with comments | « chrome/renderer/media/cast_transport_sender_ipc.cc ('k') | media/cast/net/cast_transport_sender_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698