Hi,
I just have this general question like did anyone tried making concurrent calls before? if so how many concurrent calls it could handle at a time? What is the sip.js version that you tried?
My observation:
I have built a simple application where you can make calls from browser to softphone where the media is taken via RTP engine openSIPS
I used sip.js 0.7.8 to take care of signaling between browser and server
When I test making concurrent calls, it was working fine till 16 calls and broken after that so just wondering, whether it is an issue related to the version or Is there any concurrent call restriction by default. Please feel free to share your thoughts.
ua.on('invite', function(session) {
console.log('incoming invite');
var domElement = document.getElementById('remoteAudio');
session.on('accepted', function () {
console.log('Session accepted');
var pc = session.sessionDescriptionHandler.peerConnection;
var remoteStream = new MediaStream();
pc.getReceivers().forEach(function (receiver) {
var track = receiver.track;
if (track) {
remoteStream.addTrack(track);
}
});
console.log('after track');
domElement.srcObject = remoteStream;
domElement.autoplay = true;
}) ;
var options = {
sessionDescriptionHandlerOptions: {
constraints: {
audio: true,
video: false
}
}
};
console.log('session accept');
session.accept(options);
});