[webkit-changes] [WebKit/WebKit] 9b88db: [RTCVideoEncoderH264 initWithCodecInfo] should cop...

youennf noreply at github.com
Fri Jul 28 11:38:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9b88dbfe47d7e7f69bd05e08327961ac2f287867
      https://github.com/WebKit/WebKit/commit/9b88dbfe47d7e7f69bd05e08327961ac2f287867
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M Source/ThirdParty/libwebrtc/Source/webrtc/api/video_codecs/h264_profile_level_id.cc

  Log Message:
  -----------
  [RTCVideoEncoderH264 initWithCodecInfo] should cope with invalid profile level id
https://bugs.webkit.org/show_bug.cgi?id=259592
rdar://113008968

Reviewed by Eric Carlson.

With WebCodecs, we allow JS to pass any profile level id to RTCVideoEncoderH264.
For now, we are defaulting to a default profile level id if none is matching.
A future patch should probably make sure that we return an error so that JS knows the configuration is not unsupported.

* Source/ThirdParty/libwebrtc/Source/webrtc/api/video_codecs/h264_profile_level_id.cc:

Canonical link: https://commits.webkit.org/266392@main




More information about the webkit-changes mailing list