Reland of Add H264 profile to webrtc::VideoCodecH264 and webrtc::VideoPayload (patchset #1 id:1 of https://codereview.webrtc.org/2529143002/ )
Reason for revert: Include fix; set profile information in CreatePayloadType for video. Original issue's description: > Revert of Add H264 profile to webrtc::VideoCodecH264 and webrtc::VideoPayload (patchset #1 id:40001 of https://codereview.webrtc.org/2525693003/ ) > > Reason for revert: > The CL doesn't actually set profile information in VideoPayload. > > Original issue's description: > > Add H264 profile to webrtc::VideoCodecH264 and webrtc::VideoPayload > > > > It's necessary to check H264 profile information as well as payload name > > in PayloadIsCompatible in RTPPayloadRegistry. > > > > BUG=webrtc:6743 > > > > Committed: https://crrev.com/bdbc4b7ef578ba1d61ceec351bc47c33da115329 > > Cr-Commit-Position: refs/heads/master@{#15248} > > TBR=mflodman@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:6743 > > Committed: https://crrev.com/d7e6ccbc53fc24acdcc7507a6f3a155626473d54 > Cr-Commit-Position: refs/heads/master@{#15251} TBR=mflodman@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:6743 Review-Url: https://codereview.webrtc.org/2529153002 Cr-Commit-Position: refs/heads/master@{#15252}
This commit is contained in:
@ -68,6 +68,7 @@ VideoCodecH264 VideoEncoder::GetDefaultH264Settings() {
|
||||
h264_settings.spsLen = 0;
|
||||
h264_settings.ppsData = nullptr;
|
||||
h264_settings.ppsLen = 0;
|
||||
h264_settings.profile = H264::kProfileConstrainedBaseline;
|
||||
|
||||
return h264_settings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user