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

Unified Diff: media/cast/cast_sender.h

Issue 109413004: Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Injecting TaskRunner 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/cast_sender.h
diff --git a/media/cast/cast_sender.h b/media/cast/cast_sender.h
index abe22f5634508f891f7933ad2a93e7d508163518..1475db8be4e0a36b7dd75e5eeab78d107a34efb7 100644
--- a/media/cast/cast_sender.h
+++ b/media/cast/cast_sender.h
@@ -42,9 +42,10 @@ class FrameInput : public base::RefCountedThreadSafe<FrameInput> {
// The callback is called from the main cast thread as soon as
// the cast sender is done with the frame; it does not mean that the encoded
// frame has been sent out.
- virtual void InsertCodedVideoFrame(const EncodedVideoFrame* video_frame,
- const base::TimeTicks& capture_time,
- const base::Closure callback) = 0;
+ virtual void InsertCodedVideoFrame(
+ const transport::EncodedVideoFrame* video_frame,
+ const base::TimeTicks& capture_time,
+ const base::Closure callback) = 0;
// The |audio_bus| must be valid until the |done_callback| is called.
// The callback is called from the main cast thread as soon as the encoder is
@@ -58,9 +59,10 @@ class FrameInput : public base::RefCountedThreadSafe<FrameInput> {
// The callback is called from the main cast thread as soon as
// the cast sender is done with the frame; it does not mean that the encoded
// frame has been sent out.
- virtual void InsertCodedAudioFrame(const EncodedAudioFrame* audio_frame,
- const base::TimeTicks& recorded_time,
- const base::Closure callback) = 0;
+ virtual void InsertCodedAudioFrame(
+ const transport::EncodedAudioFrame* audio_frame,
+ const base::TimeTicks& recorded_time,
+ const base::Closure callback) = 0;
protected:
virtual ~FrameInput() {}
@@ -90,7 +92,7 @@ class CastSender {
// All RTCP packets for the session should be inserted to this object.
// Can be called from any thread.
- virtual scoped_refptr<PacketReceiver> packet_receiver() = 0;
+ virtual scoped_refptr<transport::PacketReceiver> packet_receiver() = 0;
};
} // namespace cast

Powered by Google App Engine
This is Rietveld 408576698