-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable and improve h264-unidirectional-codec.offer.https.html.
Update WPTs to reflect WebRTC roll of [1] and add a new test. The H265 tests (both offer to send and offer to receive) now pass (virtual because H265 is behind flag). The H264 offer to send test no longer throws in setCodecPreferences() and it successfully negotiates H264, however the test still fails for reasons unrelated to the WebRTC fix, which is: - H264 always offers profile-level-id=64001f (3.1) regardless of which level we ask it to offer, in my case 640034 (5.2). This is https://crbug.com/391750825. The new test being added tests that even if we setCodecPreferences() with a recvonly H264 codec on a sendrecv transceiver, we should still offer H264 (but with a different level-id) because of codec filtering being based on ignoring levels. - This reveals a real bug in webrtc::IsSameRtpCodecIgnoringLevel that we should fix in a later CL. The problem is that it only ignores level for H265. Other codec comparison algorithms in WebRTC exists that do ignore levels for all codecs. [1] https://webrtc-review.googlesource.com/c/src/+/374520 Bug: chromium:381407888 Change-Id: I2586abc01a955168cb9da1a7f0834a3e0aee049c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6190353 Commit-Queue: Henrik Boström <[email protected]> Auto-Submit: Henrik Boström <[email protected]> Commit-Queue: Harald Alvestrand <[email protected]> Reviewed-by: Harald Alvestrand <[email protected]> Cr-Commit-Position: refs/heads/main@{#1410251}
- Loading branch information
1 parent
ef244b7
commit 78bb416
Showing
1 changed file
with
78 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters