i am creating a new project with 0.73.6 React native version and react-native-webrtc@118.0.3
and “jssip”: “^3.10.1”,
and trtig to tets this code
// Create our JsSIP instance and run it:
var socket = new JsSIP.WebSocketInterface(‘wss://sip.myhost.com’);
var configuration = {
sockets: [socket],
uri: ‘sip:1015-demo@sip.voxo.co’,
password: ‘F249YCBmDarxsfuC’,
};
var ua = new JsSIP.UA(configuration);
const handleJssip = () => {
ua.start();
// Register callbacks to desired call events
var eventHandlers = {
progress: function (e) {
console.log('call is in progress');
},
failed: function (e) {
console.log('call failed with cause: ' + e.data.cause);
},
ended: function (e) {
console.log('call ended with cause: ' + e.data.cause);
},
confirmed: function (e) {
console.log('call confirmed');
},
};
var options = {
eventHandlers: eventHandlers,
mediaConstraints: {audio: true, video: true},
};
var session = ua.call('sip:9996@example.com', options);
};
it give me error
NOT_SUPPORTED_ERROR: WebRTC not supported, js engine: hermes