Replies: 6 comments 15 replies
-
Some intriguing possible causes are found here by @Qvadis some years ago: |
Beta Was this translation helpful? Give feedback.
-
OK, so part one of the issue was this: iOS will refuse to allow Javascript code to access navigator. In RTCSession.js, when we call
the navigator.mediaDevices is This is not checked, causing an exception -- except since the exception is not thrown by the call itself, but by the code, it trickles down to the final I'll submit an Issue and a Pull for this, of course, but there are a couple of other things, too... |
Beta Was this translation helpful? Give feedback.
-
May be there will be an error as Bad Media Description as some of the streams that we are trying to get may not support in Mac. |
Beta Was this translation helpful? Give feedback.
-
Is this issue related to #604 ? Is particular this comment:
Is there any possible work around here? |
Beta Was this translation helpful? Give feedback.
-
Has anyone found a work around for this? Surely some people have sip calls working in iOS web browsers. Do other libraries have this working? (SIP.js) |
Beta Was this translation helpful? Give feedback.
-
I have it works on iOS since couple of years now. You may want to try adding this as it solved some issues for me. // https://askcodez.com/comment-le-controle-de-la-bande-passante-dans-webrtc-appel-video.html
// https://stackoverflow.com/questions/29936416/webrtc-disable-all-audio-processing
const disableinBandFEC = (data: { sdp: string }) => {
if (data && data.sdp) {
data.sdp = data.sdp.replace('useinbandfec=1', 'cbr=1');
}
}
session.on('sdp', (event: any) => {
//console.debug('sip:sdp', event);
//prioritizeH264(event);
disableinBandFEC(event);
}); If I have a moment I may provide a sample call code that works on iOS, if you provide one yourself it may help me to spot the other differences. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone investigated where JsSIP fails, on iOS devices?
It seems to connect the websocket, register successfully with the SIP server, but when UA.call is invoked, it doesn't seem to ever send the SIP INVITE.
Probably some audio handling issue (which is quite a bit more complex and restricted on iOS than even on macOS browsers).
Beta Was this translation helpful? Give feedback.
All reactions