Hi, I found what the problem was.
I was using a method (.addStream) which has been removed from the standard and is no longer implemented on Apple devices.
(but still recognized in other platforms)
I changed my code to something like this:
// pc.addStream(localStream); OLD METHOD NO MORE IMPLEMENTED
localStream.getTracks().forEach(track => pc.addTrack(track, localStream));
Everything seems to be ok right now
Cheers,
Andrea
Post
Replies
Boosts
Views
Activity
I am having the same problem.
WebRTC works correctly using the following configurations:
PC - PC (Linux - Mac - Win)
note: on Mac, Safari doesn't work, you only see the local video but you don't get the remote stream. Also local video is not sent.
Using Firefox and Chrome it works perfectly.
PC - Android
Android - Android.
With iOS devices it's not possible to send the local video stream under any circumstances and remote stream can only be viewed if the
ios device joins conversation after other parties and using Chrome or Firefox (Safari doesn't work)