webRTCAdaptor = new WebRTCAdaptor({
debug: false,
websocket_url: "wss://mydomain.tld:5443/WebRTCAppEE/websocket",
mediaConstraints: {
video: {
width: {
min: 720,
max: 1080,
},
aspectRatio: 1.7777,
frameRate: {
min: 20,
max: 30,
ideal: 25,
},
},
audio: true,
},
peerconnection_config: {'iceServers': [{'urls': 'stun:stun1.l.google.com:19302'}]},
localVideoId: "video-element",
bandwidth: "unlimited",
callback: (info, obj) => {
console.log(info, obj);
},
callbackError: function(error, message) {
console.log(error, message);
}
});