Bug 210958
| Summary: | pictureInPicture with iOS MediaStream source is rotated 180deg | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | seppe |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eric.carlson, Kongpheng.Nanthavongsa, michael.whittemore, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 13 | ||
| Hardware: | Mac | ||
| OS: | macOS 10.14 | ||
seppe
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/62378195>
Michael Whittemore
Munging the `a=extmap:13 urn:3gpp:video-orientation` line from the SDP appears to fix this issue for what it's worth.
Kongpheng
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
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.