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 net sender. The cast sender handles | 5 // This is the main interface for the cast net sender. The cast sender handles |
6 // the cast pipeline from encoded frames (both audio and video), to encryption, | 6 // the cast pipeline from encoded frames (both audio and video), to encryption, |
7 // packetization and transport. | 7 // packetization and transport. |
8 // All configurations are done at creation. | 8 // All configurations are done at creation. |
9 | 9 |
10 #ifndef MEDIA_CAST_NET_CAST_NET_SENDER_H_ | 10 #ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_ |
11 #define MEDIA_CAST_NET_CAST_NET_SENDER_H_ | 11 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_ |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
15 #include "base/time/tick_clock.h" | 15 #include "base/time/tick_clock.h" |
16 #include "media/cast/net/cast_net_defines.h" | 16 #include "media/cast/net/cast_transport_defines.h" |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 class AudioBus; | 19 class AudioBus; |
20 class VideoFrame; | 20 class VideoFrame; |
21 } | 21 } |
22 | 22 |
23 namespace media { | 23 namespace media { |
24 namespace cast { | 24 namespace cast { |
25 namespace transport { | 25 namespace transport { |
26 | 26 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 const RtcpSenderLogMessage& sender_log) = 0; | 62 const RtcpSenderLogMessage& sender_log) = 0; |
63 | 63 |
64 virtual void ResendPackets( | 64 virtual void ResendPackets( |
65 const MissingFramesAndPacketsMap& missing_packets) = 0; | 65 const MissingFramesAndPacketsMap& missing_packets) = 0; |
66 }; | 66 }; |
67 | 67 |
68 } // namespace transport | 68 } // namespace transport |
69 } // namespace cast | 69 } // namespace cast |
70 } // namespace media | 70 } // namespace media |
71 | 71 |
72 #endif // MEDIA_CAST_NET_CAST_NET_SENDER_H_ | 72 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_ |
OLD | NEW |