Bug 200089
Summary: | [iOS 13 Beta] camera-stream failed to show up on screen | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kyle <kylelam> |
Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Major | CC: | youennf |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | iPhone / iPad | ||
OS: | Other |
Kyle
Repo:
1) On iPhone X, with iOs13 beta 13.0 (17A5534f), open Safari
2) Open https://mdn-samples.mozilla.org/s/webrtc-capturestill/
3) Allow camera access
Expect:
4) See camera picture on the screen
Instead:
4) Nothing shows up
*note,
if we try the Video Chat Client (https://apprtc.appspot.com/) on the WebRTC samples page(https://webrtc.github.io/samples/)
one can see the video is being captured, and sent to the other computer.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
youenn fablet
Hi Kyle,
I believe mdn-samples.mozilla.org is not using playsinline.
It might also need autoplay and muted.
If you load the page in landscape mode and start capturing in landscape mode, you should see a few frames. Portrait mode had an issue that is now fixed.
Kyle
Thanks for the quick reply.
If I understand you correctly...
1) It is expected that those videos are not playing inline. The fix will be to add playsinline, autoplay and muted.
2) The reason that I see a few frames in landscape mode is due to a bug, that only repo in landscape mode but not in portrait mode?
And to sum up,
a) there's nothing wrong with iOS 13's Safari,
b) there IS a bug in iOS 12's Safari that allows these examples to work, and now, in iOS 13, these bugs had been fixed?
Kyle
Just an update, I copied their code on codepen and added the necessary tags, and now I see:
1) nothing on portrait mode
2) video streaming normally on landscape mode
https://codepen.io/kylelam/pen/oKLxMy
youenn fablet
(In reply to Kyle from comment #3)
> Just an update, I copied their code on codepen and added the necessary tags,
> and now I see:
> 1) nothing on portrait mode
> 2) video streaming normally on landscape mode
> https://codepen.io/kylelam/pen/oKLxMy
Yes this is fixed in WebKit ToT.
(In reply to Kyle from comment #2)
> Thanks for the quick reply.
>
> If I understand you correctly...
> 1) It is expected that those videos are not playing inline. The fix will be
> to add playsinline, autoplay and muted.
Yes
> 2) The reason that I see a few frames in landscape mode is due to a bug,
> that only repo in landscape mode but not in portrait mode?
The few frames in landscape mode is probably due to playsinline.
> And to sum up,
> a) there's nothing wrong with iOS 13's Safari,
The bug for portrait mode was fixed in ToT.
> b) there IS a bug in iOS 12's Safari that allows these examples to work, and
> now, in iOS 13, these bugs had been fixed?
There is no bug in iOS12, iOS requires playsinline and will probably continue.