Update callId update

This commit is contained in:
Sergiu Toma 2021-02-17 14:19:36 +02:00
parent d9834a3b53
commit f7b4a70e92
1 changed files with 23 additions and 23 deletions

View File

@ -20,33 +20,14 @@ var socket, stream;
// rtcpMuxPolicy:"negotiate"
// }
// var config = {
// iceServers: [{
// urls: [ "stun:numb.viagenie.ca" ]
// }, {
// username: "claudiustancu@outlook.com",
// credential: "Parola123",
// urls: [
// "turn:numb.viagenie.ca"
// ]
// }],
// //FOR CHROME
// rtcpMuxPolicy:"negotiate"
// }
var config = {
iceServers: [{
//urls: [ "stun:numb.viagenie.ca"
urls: [ "stun:dev.linx.safemobile.com:19302" ]
urls: [ "stun:numb.viagenie.ca" ]
}, {
//username: "claudiustancu@outlook.com",
username: "sergiu",
//credential: "Parola123",
credential: "test123",
username: "claudiustancu@outlook.com",
credential: "Parola123",
urls: [
// "turn:numb.viagenie.ca"
"turn:dev.linx.safemobile.com:19302"
"turn:numb.viagenie.ca"
]
}],
@ -54,6 +35,25 @@ var config = {
rtcpMuxPolicy:"negotiate"
}
// var config = {
// iceServers: [{
// //urls: [ "stun:numb.viagenie.ca"
// urls: [ "stun:dev.linx.safemobile.com:19302" ]
// }, {
// //username: "claudiustancu@outlook.com",
// username: "sergiu",
// //credential: "Parola123",
// credential: "test123",
// urls: [
// // "turn:numb.viagenie.ca"
// "turn:dev.linx.safemobile.com:19302"
// ]
// }],
// //FOR CHROME
// rtcpMuxPolicy:"negotiate"
// }
var pc = new RTCPeerConnection(config)
let localStream, remoteStream