OLD | NEW |
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 // This is the main interface for the cast sender. | 5 // This is the main interface for the cast sender. |
6 // | 6 // |
7 // The AudioFrameInput, VideoFrameInput and PacketReciever interfaces should | 7 // The AudioFrameInput, VideoFrameInput and PacketReciever interfaces should |
8 // be accessed from the main thread. | 8 // be accessed from the main thread. |
9 | 9 |
10 #ifndef MEDIA_CAST_CAST_SENDER_H_ | 10 #ifndef MEDIA_CAST_CAST_SENDER_H_ |
11 #define MEDIA_CAST_CAST_SENDER_H_ | 11 #define MEDIA_CAST_CAST_SENDER_H_ |
12 | 12 |
13 #include "base/basictypes.h" | |
14 #include "base/callback.h" | 13 #include "base/callback.h" |
15 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
17 #include "base/time/tick_clock.h" | 16 #include "base/time/tick_clock.h" |
18 #include "base/time/time.h" | 17 #include "base/time/time.h" |
19 #include "media/base/audio_bus.h" | 18 #include "media/base/audio_bus.h" |
20 #include "media/cast/cast_config.h" | 19 #include "media/cast/cast_config.h" |
21 #include "media/cast/cast_environment.h" | 20 #include "media/cast/cast_environment.h" |
22 #include "media/cast/constants.h" | 21 #include "media/cast/constants.h" |
23 #include "media/cast/net/cast_transport_sender.h" | 22 #include "media/cast/net/cast_transport_sender.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // Change the target delay. This is only valid if the receiver | 119 // Change the target delay. This is only valid if the receiver |
121 // supports the "adaptive_target_delay" rtp extension. | 120 // supports the "adaptive_target_delay" rtp extension. |
122 virtual void SetTargetPlayoutDelay( | 121 virtual void SetTargetPlayoutDelay( |
123 base::TimeDelta new_target_playout_delay) = 0; | 122 base::TimeDelta new_target_playout_delay) = 0; |
124 }; | 123 }; |
125 | 124 |
126 } // namespace cast | 125 } // namespace cast |
127 } // namespace media | 126 } // namespace media |
128 | 127 |
129 #endif // MEDIA_CAST_CAST_SENDER_H_ | 128 #endif // MEDIA_CAST_CAST_SENDER_H_ |
OLD | NEW |