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

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

Issue 493823002: Implement adaptive target delay extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: explicit masking 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 unified diff | Download patch
« no previous file with comments | « media/cast/cast_sender.h ('k') | media/cast/cast_sender_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 #ifndef MEDIA_CAST_CAST_SENDER_IMPL_H_ 4 #ifndef MEDIA_CAST_CAST_SENDER_IMPL_H_
5 #define MEDIA_CAST_CAST_SENDER_IMPL_H_ 5 #define MEDIA_CAST_CAST_SENDER_IMPL_H_
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "media/cast/cast_config.h" 9 #include "media/cast/cast_config.h"
10 #include "media/cast/cast_defines.h" 10 #include "media/cast/cast_defines.h"
(...skipping 19 matching lines...) Expand all
30 virtual void InitializeAudio( 30 virtual void InitializeAudio(
31 const AudioSenderConfig& audio_config, 31 const AudioSenderConfig& audio_config,
32 const CastInitializationCallback& cast_initialization_cb) OVERRIDE; 32 const CastInitializationCallback& cast_initialization_cb) OVERRIDE;
33 virtual void InitializeVideo( 33 virtual void InitializeVideo(
34 const VideoSenderConfig& video_config, 34 const VideoSenderConfig& video_config,
35 const CastInitializationCallback& cast_initialization_cb, 35 const CastInitializationCallback& cast_initialization_cb,
36 const CreateVideoEncodeAcceleratorCallback& create_vea_cb, 36 const CreateVideoEncodeAcceleratorCallback& create_vea_cb,
37 const CreateVideoEncodeMemoryCallback& create_video_encode_mem_cb) 37 const CreateVideoEncodeMemoryCallback& create_video_encode_mem_cb)
38 OVERRIDE; 38 OVERRIDE;
39 39
40 virtual void SetTargetPlayoutDelay(
41 base::TimeDelta new_target_playout_delay) OVERRIDE;
42
40 virtual ~CastSenderImpl(); 43 virtual ~CastSenderImpl();
41 44
42 virtual scoped_refptr<AudioFrameInput> audio_frame_input() OVERRIDE; 45 virtual scoped_refptr<AudioFrameInput> audio_frame_input() OVERRIDE;
43 virtual scoped_refptr<VideoFrameInput> video_frame_input() OVERRIDE; 46 virtual scoped_refptr<VideoFrameInput> video_frame_input() OVERRIDE;
44 47
45 private: 48 private:
46 void ReceivedPacket(scoped_ptr<Packet> packet); 49 void ReceivedPacket(scoped_ptr<Packet> packet);
47 50
48 CastInitializationCallback initialization_callback_; 51 CastInitializationCallback initialization_callback_;
49 scoped_ptr<AudioSender> audio_sender_; 52 scoped_ptr<AudioSender> audio_sender_;
(...skipping 10 matching lines...) Expand all
60 // NOTE: Weak pointers must be invalidated before all other member variables. 63 // NOTE: Weak pointers must be invalidated before all other member variables.
61 base::WeakPtrFactory<CastSenderImpl> weak_factory_; 64 base::WeakPtrFactory<CastSenderImpl> weak_factory_;
62 65
63 DISALLOW_COPY_AND_ASSIGN(CastSenderImpl); 66 DISALLOW_COPY_AND_ASSIGN(CastSenderImpl);
64 }; 67 };
65 68
66 } // namespace cast 69 } // namespace cast
67 } // namespace media 70 } // namespace media
68 71
69 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_ 72 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_
OLDNEW
« no previous file with comments | « media/cast/cast_sender.h ('k') | media/cast/cast_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698