| Summary: | The size of a video track's settings is incorrect in the second MediaStream created when the 'aspectRatio' contraint is applied | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | inanelit |
| Component: | WebRTC | Assignee: | Eric Carlson <eric.carlson> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ahmad.saleem792, akeerthi, bryan, cdumez, eric.carlson, mbrice, rniwa, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| URL: | https://codesandbox.io/s/blissful-snowflake-qdq6fo?file=/src/App.js | ||
|
Description
inanelit
2022-09-21 20:06:55 PDT
I am able to reproduce this bug in Safari 16 and Safari Technology Preview 154 and the second stream video is distorted and like crushed or squeezed. While I am not able to reproduce this in Chrome Canary 108 and Firefox Nightly 107. Just wanted to update latest testing results. Thanks! The bug is that the sections of the second video stream track are incorrect when the 'aspectRatio' constraint is used. The camera stream is captured at the correct size, but MediaTrackSettings.width and MediaTrackSettings.height have the values of the unconstrained width and height. Pull request: https://github.com/WebKit/WebKit/pull/6093 Committed 256433@main (fc20b78a56dc): <https://commits.webkit.org/256433@main> Reviewed commits have been landed. Closing PR #6093 and removing active labels. |