getPlugin().createPeerConnection is not a function

64 views
Skip to first unread message

Craig Marston

unread,
Sep 2, 2022, 12:39:04 PM9/2/22
to discuss-doubango
We are using SIPML5 and have adapted it for registration and calling to our telephony platform.

It works fine however not on Apple IoS device browsers. No matter what browser brand we have an issue calling the Peer connection.

Script

};
        RTCPeerConnection = function(b, a) {
            return getPlugin().createPeerConnection(b, a)
        };

Client browser error log

ERRORTypeError: getPlugin().createPeerConnection is not a function. (In 'getPlugin().createPeerConnection(b, a)', 'getPlugin().createPeerConnection' is undefined)
ERRORTypeError: getPlugin().createPeerConnection is not a function. (In 'getPlugin().createPeerConnection(b, a)', 'getPlugin().createPeerConnection' is undefined)
10:00
INFOState machine: tsip_dialog_register_Connected_2_InProgress_X_oRegister
ERRORFailed to find transport
ERRORFailed to find transport

I can see there are two other chat threads in this discussion group with the same issue, but no answer or suggestion.

Should we assume it is not going to work on IoS devices due to a webkit conflict and move on to look for a different solution or is anyone aware of a workaround / If condition we could add to the script?

Thanks

Craig


Craig Marston

unread,
Feb 18, 2023, 10:11:02 AM2/18/23
to discuss-doubango
We had to abandon SIPML5, but we have it all working well now as a result. 
Reply all
Reply to author
Forward
0 new messages