I use AWS ivs web SDK to capture live streams from the camera of a device and share it with other devices.
among those devices, pc (windows) and Android seem to see the stream just fine, but when I open the stream page on iPhones I can't see it (either in safari or Chrome).
the error i get is : code:0 , message: Source created failed, type: ErrorNoSource.
might help to know that the stream is secured with an auth token that I get from my server.
does anyone have an idea what to do?
const player = await IVSPlayer.create()
await player.load(streamUrl + '?token=' + token)
const videoEl = document.getElementById('video-player')
await player.attachHTMLVideoElement(videoEl)
await player.play()