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

Unified Diff: webrtc/media/base/mediaconstants.cc

Issue 2347863003: H264 codec: Check profile-level-id when matching (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« webrtc/media/base/codec_unittest.cc ('K') | « webrtc/media/base/mediaconstants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/mediaconstants.cc
diff --git a/webrtc/media/base/mediaconstants.cc b/webrtc/media/base/mediaconstants.cc
index 0f31864ede12081b777477d582398463245c711f..e8ed4fd0c63885b5eb5581cec62228db1aef3083 100644
--- a/webrtc/media/base/mediaconstants.cc
+++ b/webrtc/media/base/mediaconstants.cc
@@ -97,6 +97,9 @@ const char kH264CodecName[] = "H264";
// RFC 6184 RTP Payload Format for H.264 video
const char kH264FmtpProfileLevelId[] = "profile-level-id";
+// If no profile-level-id is present as a parameter, the Baseline Profile
+// without additional constraints at Level 1 is implied.
+const char kH264FmtpDefaultProfileLevelId[] = "66000a";
hta-webrtc 2016/09/19 06:38:36 I don't think this is baseline. Remember that the
magjed_webrtc 2016/09/19 12:40:30 Sorry, it should be 66 in decimal, i.e. 0x42 in he
hta-webrtc 2016/10/05 11:56:29 Yes, I think we should set those 2 flags. They are
const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed";
const char kH264FmtpPacketizationMode[] = "packetization-mode";
const char kH264ProfileLevelConstrainedBaseline[] = "42e01f";
« webrtc/media/base/codec_unittest.cc ('K') | « webrtc/media/base/mediaconstants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698