RESOLVED DUPLICATE of bug 229792231903
Webrtc video streams in portrait have a black background in landscape
https://bugs.webkit.org/show_bug.cgi?id=231903
Summary Webrtc video streams in portrait have a black background in landscape
Davy De Durpel
Reported 2021-10-18 09:50:31 PDT
As of iOS 15 there's a black background behind the video element of a WebRTC stream when holding the phone in portrait. The black background appears to be the same size as the video element but rendered in landscape. You can easily see this effect by opening this demo from the WebRTC site: https://webrtc.github.io/samples/src/content/getusermedia/resolution/ I have this issue on an iPhone Xs running iOS 15.0.2. I have no idea if it occurs on other devices. A side effect seems to be that some of the width and height parameters are the ones of the black background (I will need to do some extra debugging in the OpenTok library to confirm this)
Attachments
Dag-Inge Aas
Comment 1 2021-10-18 23:21:54 PDT
Duplicate of 229792. Possibly fixed in 15.1 Beta 3, but haven't verified this myself yet. That bug also contains a workaround if you haven't found one already!
youenn fablet
Comment 2 2021-10-20 03:51:12 PDT
*** This bug has been marked as a duplicate of bug 229792 ***
Note You need to log in before you can comment on or make changes to this bug.