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

Side by Side Diff: webrtc/common_types.h

Issue 1725363003: Move RTP module activation into PayloadRouter. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: nuke comment 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 | « no previous file | webrtc/modules/rtp_rtcp/include/rtp_rtcp.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 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 19 matching lines...) Expand all
30 #elif WEBRTC_DLL 30 #elif WEBRTC_DLL
31 #define WEBRTC_DLLEXPORT _declspec(dllimport) 31 #define WEBRTC_DLLEXPORT _declspec(dllimport)
32 #else 32 #else
33 #define WEBRTC_DLLEXPORT 33 #define WEBRTC_DLLEXPORT
34 #endif 34 #endif
35 35
36 #ifndef NULL 36 #ifndef NULL
37 #define NULL 0 37 #define NULL 0
38 #endif 38 #endif
39 39
40 #define RTP_PAYLOAD_NAME_SIZE 32 40 #define RTP_PAYLOAD_NAME_SIZE 32u
41 41
42 #if defined(WEBRTC_WIN) || defined(WIN32) 42 #if defined(WEBRTC_WIN) || defined(WIN32)
43 // Compares two strings without regard to case. 43 // Compares two strings without regard to case.
44 #define STR_CASE_CMP(s1, s2) ::_stricmp(s1, s2) 44 #define STR_CASE_CMP(s1, s2) ::_stricmp(s1, s2)
45 // Compares characters of two strings without regard to case. 45 // Compares characters of two strings without regard to case.
46 #define STR_NCASE_CMP(s1, s2, n) ::_strnicmp(s1, s2, n) 46 #define STR_NCASE_CMP(s1, s2, n) ::_strnicmp(s1, s2, n)
47 #else 47 #else
48 #define STR_CASE_CMP(s1, s2) ::strcasecmp(s1, s2) 48 #define STR_CASE_CMP(s1, s2) ::strcasecmp(s1, s2)
49 #define STR_NCASE_CMP(s1, s2, n) ::strncasecmp(s1, s2, n) 49 #define STR_NCASE_CMP(s1, s2, n) ::strncasecmp(s1, s2, n)
50 #endif 50 #endif
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 uint32_t ssrc) = 0; 852 uint32_t ssrc) = 0;
853 }; 853 };
854 854
855 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size 855 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size
856 // RTCP mode is described by RFC 5506. 856 // RTCP mode is described by RFC 5506.
857 enum class RtcpMode { kOff, kCompound, kReducedSize }; 857 enum class RtcpMode { kOff, kCompound, kReducedSize };
858 858
859 } // namespace webrtc 859 } // namespace webrtc
860 860
861 #endif // WEBRTC_COMMON_TYPES_H_ 861 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/include/rtp_rtcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698