NEW 210958
pictureInPicture with iOS MediaStream source is rotated 180deg
https://bugs.webkit.org/show_bug.cgi?id=210958
Summary pictureInPicture with iOS MediaStream source is rotated 180deg
seppe
Reported 2020-04-24 01:50:02 PDT
Steps to reproduce: * Join a appr.tc room with Safari on Mac OS. * Join the same room with Safari on iOS with camera enabled. * Execute the following command in the desktop console: document.addEventListener('click', () => document.querySelector('#remote-video').webkitSetPresentationMode('picture-in-picture')); * Click anywhere in the viewport. Expected result: a picture in picture popup is shown, showing the video of the iOS camera Actual result: the popup and video are show, but the video is rotated 180deg. This result can be reproduced on different websites. I haven't found any other combination of browser where it occurs (tested with different combinations of mobile Safari, desktop Safari, mobile Chrome and desktop Chrome).
Attachments
Radar WebKit Bug Importer
Comment 1 2020-04-25 17:36:17 PDT
Michael Whittemore
Comment 2 2022-06-24 17:23:39 PDT
Munging the `a=extmap:13 urn:3gpp:video-orientation` line from the SDP appears to fix this issue for what it's worth.
Kongpheng
Comment 3 2022-06-25 12:12:46 PDT
Regarding the previous comment about the SDP munging fix, did some more testing and we don't think that fixes it. Apologies for the false positive. In any case, will continue to look into a workaround and report back if we find one.
Kongpheng
Comment 4 2022-06-26 22:28:45 PDT
Nevermind the nevermind. Michael was correct. Munging the SDP makes the issue go away. I made some mistakes during testing. Sorry for all the noise everyone.
Note You need to log in before you can comment on or make changes to this bug.