Player of a Live broadcast iOS asking camera/video permission

Henrique Paim

New Member
I have a system broadcasting WebRTC and players on mobile devices that just receive the audio/video. This work well on computers and Android devices. However, on iOS the audio/video is not working. I don't have error messages as well.

But when I include these lines on the player, it works well on iOS. The only problem is that the Safari browser asks permission to use the camera and microphone.
    Flashphoner.getMediaDevices(null, true).then(function (list) {
    }).catch(function (error) {
Removing the lines above, the browser doesn't ask permission but the audio/video doesn't work.

This is the code I'm using to start the player (work wall on any browser that is not Safari and not on iOS)
var session = Flashphoner.getSessions()[0];
    name: channel_name_here,
    display: discplay_container
Does anyone have any suggestions? I'm looking for a solution where I have a page just receiving audio/video via WebRTC and that page works well on Safari.