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

Side by Side Diff: media/cast/cast_receiver_impl.h

Issue 126843003: Revert of Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/cast_receiver.h ('k') | media/cast/cast_receiver_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_CAST_RECEIVER_IMPL_H_ 5 #ifndef MEDIA_CAST_CAST_RECEIVER_IMPL_H_
6 #define MEDIA_CAST_CAST_RECEIVER_IMPL_H_ 6 #define MEDIA_CAST_CAST_RECEIVER_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "media/cast/audio_receiver/audio_receiver.h" 10 #include "media/cast/audio_receiver/audio_receiver.h"
(...skipping 13 matching lines...) Expand all
24 public: 24 public:
25 CastReceiverImpl(scoped_refptr<CastEnvironment> cast_environment, 25 CastReceiverImpl(scoped_refptr<CastEnvironment> cast_environment,
26 const AudioReceiverConfig& audio_config, 26 const AudioReceiverConfig& audio_config,
27 const VideoReceiverConfig& video_config, 27 const VideoReceiverConfig& video_config,
28 PacketSender* const packet_sender); 28 PacketSender* const packet_sender);
29 29
30 virtual ~CastReceiverImpl(); 30 virtual ~CastReceiverImpl();
31 31
32 // All received RTP and RTCP packets for the call should be inserted to this 32 // All received RTP and RTCP packets for the call should be inserted to this
33 // PacketReceiver. 33 // PacketReceiver.
34 virtual scoped_refptr<transport::PacketReceiver> packet_receiver() OVERRIDE; 34 virtual scoped_refptr<PacketReceiver> packet_receiver() OVERRIDE;
35 35
36 // Interface to get audio and video frames from the CastReceiver. 36 // Interface to get audio and video frames from the CastReceiver.
37 virtual scoped_refptr<FrameReceiver> frame_receiver() OVERRIDE; 37 virtual scoped_refptr<FrameReceiver> frame_receiver() OVERRIDE;
38 38
39 private: 39 private:
40 transport::PacedSender pacer_; 40 transport::PacedSender pacer_;
41 AudioReceiver audio_receiver_; 41 AudioReceiver audio_receiver_;
42 VideoReceiver video_receiver_; 42 VideoReceiver video_receiver_;
43 scoped_refptr<FrameReceiver> frame_receiver_; 43 scoped_refptr<FrameReceiver> frame_receiver_;
44 scoped_refptr<transport::PacketReceiver> packet_receiver_; 44 scoped_refptr<PacketReceiver> packet_receiver_;
45 }; 45 };
46 46
47 } // namespace cast 47 } // namespace cast
48 } // namespace media 48 } // namespace media
49 49
50 #endif // MEDIA_CAST_CAST_RECEIVER_IMPL_ 50 #endif // MEDIA_CAST_CAST_RECEIVER_IMPL_
OLDNEW
« no previous file with comments | « media/cast/cast_receiver.h ('k') | media/cast/cast_receiver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698