jech / galene

The Galène videoconference server
https://galene.org
MIT License
944 stars 130 forks source link

iOS web. Webrtc does not have permission in Chrome but works on iOS safari and firefox #112

Closed gedw99 closed 2 years ago

gedw99 commented 3 years ago

Am trying this out from an iOS device.

It’s using Chrome.

When I press the Green button to enable webrtc is barks at me this:

8CE87562-1FF4-469D-98D1-E345DB636736

I wonder if it’s a permission problem.

Also it might work if it’s added using A2HS

gedw99 commented 3 years ago

On iOS Firefox it works it seems

434CE07E-6B9D-492F-9BB8-DFC08882DD85

gedw99 commented 3 years ago

On iOS safari it also seems to work.

EAA5AB9C-24BD-4158-8411-EBD17C77AD63

jech commented 3 years ago

Perhaps https://bugs.webkit.org/show_bug.cgi?id=208667 ? If so, then it's an iOS bug that's fixed in iOS 14 beta 2.

gedw99 commented 3 years ago

I am using iOS 15 btw .

So I doubt it’s that bug

jech commented 3 years ago

Could you please test whether you see the same problem with other WebRTC software? For example the Janus echo test?

https://janus.conf.meetecho.com/echotest.html

gedw99 commented 3 years ago

Good idea !

i got exactly the same failures

chrome failed

Safari and Firefox works

It’s chrome bug it seems.

screen shots of all 3 follows:

chrome is first B611A26E-5AF4-45C2-9BFB-26989D4BB4F7 EF1981BC-3F07-4AA7-BBA6-3C5E749EA7D3 B57B097B-93C0-49AF-A9FE-BCA54831ABA8

jech commented 3 years ago

Thanks for the tests. I'll get in touch with some wise people to see if they understand the issue.

gedw99 commented 3 years ago

sorry i could not help more. If you need more testing let me know.

jech commented 2 years ago

This is what @lminiero told me on the subject (quoted with his permission):

Just a quick update, since one of my colleagues has an iPhone, and it's exactly what I thought: he had to go to the settings, search "Chrome", and then enable access to both Microphone and Webcam. After he did that, the Janus EchoTest demo worked as expected.

I'm closing this bug, since it doesn't seem to be specific to Galene. Please reopen if you disagree.

gedw99 commented 2 years ago

Hey @jech

thanks for feedback.

It maybe that a Service worker helps remedy this. I raised another issue about that. Worth trying perhaps.