NEW 200089
[iOS 13 Beta] camera-stream failed to show up on screen
https://bugs.webkit.org/show_bug.cgi?id=200089
Summary [iOS 13 Beta] camera-stream failed to show up on screen
Kyle
Reported 2019-07-24 10:38:35 PDT
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
youenn fablet
Comment 1 2019-07-24 10:46:50 PDT
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
Comment 2 2019-07-24 11:13:36 PDT
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
Comment 3 2019-07-24 15:19:25 PDT
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
Comment 4 2019-07-24 15:30:26 PDT
(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.
Note You need to log in before you can comment on or make changes to this bug.