SIP.js icon indicating copy to clipboard operation
SIP.js copied to clipboard

as support for ios changed recently?

Open apaul0210 opened this issue 2 years ago • 0 comments

has the support for Ios changed recently, as i have found that I'm unable to make an audio on safari anymore but works on android.

i can't seem to stream any media attachments in safari using this link https://sipjs.com/guides/attach-media/

does this code work in ios 16?

const mediaElement = document.getElementById('mediaElement'); const remoteStream = new MediaStream(); function setupRemoteMedia(session: Session) { session.sessionDescriptionHandler.peerConnection.getReceivers().forEach((receiver) => { if (receiver.track) { remoteStream.addTrack(receiver.track); } }); mediaElement.srcObject = remoteStream; mediaElement.play(); }

I cant seem to get any streaming playback. audio is playable in safari as far I can tell too, Nothing in console logs either.

apaul0210 avatar May 04 '23 09:05 apaul0210