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

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

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « media/cast/net/DEPS ('k') | media/cast/net/cast_transport_config.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 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_TRANSPORT_CAST_TRANSPORT_CONFIG_H_ 5 #ifndef MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_
6 #define MEDIA_CAST_TRANSPORT_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/transport/cast_transport_defines.h" 16 #include "media/cast/net/cast_transport_defines.h"
17 #include "net/base/ip_endpoint.h"
18 17
19 namespace media { 18 namespace media {
20 namespace cast { 19 namespace cast {
21 namespace transport {
22 20
23 enum RtcpMode { 21 enum RtcpMode {
24 kRtcpCompound, // Compound RTCP mode is described by RFC 4585. 22 kRtcpCompound, // Compound RTCP mode is described by RFC 4585.
25 kRtcpReducedSize, // Reduced-size RTCP mode is described by RFC 5506. 23 kRtcpReducedSize, // Reduced-size RTCP mode is described by RFC 5506.
26 }; 24 };
27 25
28 enum Codec { 26 enum Codec {
29 CODEC_UNKNOWN, 27 CODEC_UNKNOWN,
30 CODEC_AUDIO_OPUS, 28 CODEC_AUDIO_OPUS,
31 CODEC_AUDIO_PCM16, 29 CODEC_AUDIO_PCM16,
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 }; 186 };
189 187
190 inline bool operator==(RtcpSenderInfo lhs, RtcpSenderInfo rhs) { 188 inline bool operator==(RtcpSenderInfo lhs, RtcpSenderInfo rhs) {
191 return lhs.ntp_seconds == rhs.ntp_seconds && 189 return lhs.ntp_seconds == rhs.ntp_seconds &&
192 lhs.ntp_fraction == rhs.ntp_fraction && 190 lhs.ntp_fraction == rhs.ntp_fraction &&
193 lhs.rtp_timestamp == rhs.rtp_timestamp && 191 lhs.rtp_timestamp == rhs.rtp_timestamp &&
194 lhs.send_packet_count == rhs.send_packet_count && 192 lhs.send_packet_count == rhs.send_packet_count &&
195 lhs.send_octet_count == rhs.send_octet_count; 193 lhs.send_octet_count == rhs.send_octet_count;
196 } 194 }
197 195
198 } // namespace transport
199 } // namespace cast 196 } // namespace cast
200 } // namespace media 197 } // namespace media
201 198
202 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_CONFIG_H_ 199 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_
OLDNEW
« no previous file with comments | « media/cast/net/DEPS ('k') | media/cast/net/cast_transport_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698