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

Side by Side Diff: talk/media/base/constants.cc

Issue 1187573004: iOS HW H264 support. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Tweak build files Created 5 years, 6 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
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 const int kRtpVideoRotationHeaderExtensionDefaultId = 4; 122 const int kRtpVideoRotationHeaderExtensionDefaultId = 4;
123 const char kRtpVideoRotationHeaderExtension[] = "urn:3gpp:video-orientation"; 123 const char kRtpVideoRotationHeaderExtension[] = "urn:3gpp:video-orientation";
124 const char kRtpVideoRotation6BitsHeaderExtensionForTesting[] = 124 const char kRtpVideoRotation6BitsHeaderExtensionForTesting[] =
125 "urn:3gpp:video-orientation:6"; 125 "urn:3gpp:video-orientation:6";
126 126
127 const int kNumDefaultUnsignalledVideoRecvStreams = 0; 127 const int kNumDefaultUnsignalledVideoRecvStreams = 0;
128 128
129 const char kVp8CodecName[] = "VP8"; 129 const char kVp8CodecName[] = "VP8";
130 const char kVp9CodecName[] = "VP9"; 130 const char kVp9CodecName[] = "VP9";
131 const char kH264CodecName[] = "H264";
131 132
132 const int kDefaultVp8PlType = 100; 133 const int kDefaultVp8PlType = 100;
133 const int kDefaultVp9PlType = 101; 134 const int kDefaultVp9PlType = 101;
135 // Matches VCM_H264_PAYLOAD_TYPE in video_coding_defines.h.
pbos-webrtc 2015/06/25 20:20:14 Does this line matter? Also have you made sure tha
tkchin_webrtc 2015/06/25 21:37:49 Apparently not - why is pltype defined in two plac
pbos-webrtc 2015/06/26 05:28:31 Legacy reasons I think, not sure.
136 const int kDefaultH264PlType = 127;
134 const int kDefaultRedPlType = 116; 137 const int kDefaultRedPlType = 116;
135 const int kDefaultUlpfecType = 117; 138 const int kDefaultUlpfecType = 117;
136 const int kDefaultRtxVp8PlType = 96; 139 const int kDefaultRtxVp8PlType = 96;
137 140
138 const int kDefaultVideoMaxWidth = 640; 141 const int kDefaultVideoMaxWidth = 640;
139 const int kDefaultVideoMaxHeight = 400; 142 const int kDefaultVideoMaxHeight = 400;
140 const int kDefaultVideoMaxFramerate = 30; 143 const int kDefaultVideoMaxFramerate = 30;
141 } // namespace cricket 144 } // namespace cricket
142 145
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698