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

Side by Side Diff: webrtc/p2p/base/constants.h

Issue 1750593002: Rename constants files in webrtc/{media,p2p} (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removed cricket naming Created 4 years, 9 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 | « webrtc/p2p/base/candidate.h ('k') | webrtc/p2p/base/constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_P2P_BASE_CONSTANTS_H_
12 #define WEBRTC_P2P_BASE_CONSTANTS_H_
13
14 #include <string>
15
16 namespace cricket {
17
18 // CN_ == "content name". When we initiate a session, we choose the
19 // name, and when we receive a Gingle session, we provide default
20 // names (since Gingle has no content names). But when we receive a
21 // Jingle call, the content name can be anything, so don't rely on
22 // these values being the same as the ones received.
23 extern const char CN_AUDIO[];
24 extern const char CN_VIDEO[];
25 extern const char CN_DATA[];
26 extern const char CN_OTHER[];
27
28 // GN stands for group name
29 extern const char GROUP_TYPE_BUNDLE[];
30
31 extern const int ICE_UFRAG_LENGTH;
32 extern const int ICE_PWD_LENGTH;
33 extern const size_t ICE_UFRAG_MIN_LENGTH;
34 extern const size_t ICE_PWD_MIN_LENGTH;
35 extern const size_t ICE_UFRAG_MAX_LENGTH;
36 extern const size_t ICE_PWD_MAX_LENGTH;
37
38 extern const int ICE_CANDIDATE_COMPONENT_RTP;
39 extern const int ICE_CANDIDATE_COMPONENT_RTCP;
40 extern const int ICE_CANDIDATE_COMPONENT_DEFAULT;
41
42 extern const char NS_JINGLE_RTP[];
43 extern const char NS_JINGLE_DRAFT_SCTP[];
44
45 // RFC 4145, SDP setup attribute values.
46 extern const char CONNECTIONROLE_ACTIVE_STR[];
47 extern const char CONNECTIONROLE_PASSIVE_STR[];
48 extern const char CONNECTIONROLE_ACTPASS_STR[];
49 extern const char CONNECTIONROLE_HOLDCONN_STR[];
50
51 } // namespace cricket
52
53 #endif // WEBRTC_P2P_BASE_CONSTANTS_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/candidate.h ('k') | webrtc/p2p/base/constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698