Replies: 7 comments 21 replies
|
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... |
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. |
|
Is this issue related to #604 ? Is particular this comment: Is there any possible work around here? |
|
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) |
|
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. |
|
@hthetiot I also had it worked on iOS couple of years ago but with iOS 18, I encounter the one-way audio on the call. I can not hear the other party, but they can hear me. I have not figured out what the problem is. Any idea ? Thanks |
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).
All reactions