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

Side by Side Diff: media/cast/net/cast_transport_config.h

Issue 601413003: [cast] AAC encoder for OS X and iOS based on AudioConverter and AudioFile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@audio-remove-constants
Patch Set: Address review feedback and lint warnings. Created 6 years, 2 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 | « no previous file | media/cast/sender/audio_encoder.h » ('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 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
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_
OLDNEW
« no previous file with comments | « no previous file | media/cast/sender/audio_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698