Add functionality for parsing H264 profile-level-id

The new code is only exercised in tests so far. The H264 profile-level-id
parsing is not complete, but it should be enough for our purposes for
now.

BUG=webrtc:6400,webrtc:6337

Review-Url: https://codereview.webrtc.org/2459633002
Cr-Commit-Position: refs/heads/master@{#14850}
This commit is contained in:
magjed
2016-10-31 05:55:57 -07:00
committed by Commit bot
parent f0a7c5ac16
commit fffc1e5578
7 changed files with 273 additions and 4 deletions

View File

@ -62,7 +62,6 @@ VideoCodecH264 VideoEncoder::GetDefaultH264Settings() {
VideoCodecH264 h264_settings;
memset(&h264_settings, 0, sizeof(h264_settings));
h264_settings.profile = kProfileBase;
h264_settings.frameDroppingOn = true;
h264_settings.keyFrameInterval = 3000;
h264_settings.spsData = nullptr;