OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_NET_CAST_TRANSPORT_CONFIG_H_ | 5 #ifndef MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ |
6 #define MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ | 6 #define MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
16 #include "media/cast/net/cast_transport_defines.h" | 16 #include "media/cast/net/cast_transport_defines.h" |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 namespace cast { | 19 namespace cast { |
20 | 20 |
21 enum Codec { | 21 enum Codec { |
22 CODEC_UNKNOWN, | 22 CODEC_UNKNOWN, |
23 CODEC_AUDIO_OPUS, | 23 CODEC_AUDIO_OPUS, |
24 CODEC_AUDIO_PCM16, | 24 CODEC_AUDIO_PCM16, |
| 25 CODEC_AUDIO_AAC, |
25 CODEC_VIDEO_FAKE, | 26 CODEC_VIDEO_FAKE, |
26 CODEC_VIDEO_VP8, | 27 CODEC_VIDEO_VP8, |
27 CODEC_VIDEO_H264, | 28 CODEC_VIDEO_H264, |
28 CODEC_LAST = CODEC_VIDEO_H264 | 29 CODEC_LAST = CODEC_VIDEO_H264 |
29 }; | 30 }; |
30 | 31 |
31 struct CastTransportRtpConfig { | 32 struct CastTransportRtpConfig { |
32 CastTransportRtpConfig(); | 33 CastTransportRtpConfig(); |
33 ~CastTransportRtpConfig(); | 34 ~CastTransportRtpConfig(); |
34 | 35 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 lhs.ntp_fraction == rhs.ntp_fraction && | 180 lhs.ntp_fraction == rhs.ntp_fraction && |
180 lhs.rtp_timestamp == rhs.rtp_timestamp && | 181 lhs.rtp_timestamp == rhs.rtp_timestamp && |
181 lhs.send_packet_count == rhs.send_packet_count && | 182 lhs.send_packet_count == rhs.send_packet_count && |
182 lhs.send_octet_count == rhs.send_octet_count; | 183 lhs.send_octet_count == rhs.send_octet_count; |
183 } | 184 } |
184 | 185 |
185 } // namespace cast | 186 } // namespace cast |
186 } // namespace media | 187 } // namespace media |
187 | 188 |
188 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ | 189 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ |
OLD | NEW |