Update callId update

This commit is contained in:
Sergiu Toma 2021-02-17 13:59:16 +02:00
parent a919b6efd6
commit 536642ad05
1 changed files with 27 additions and 27 deletions

View File

@ -6,35 +6,35 @@ const io = require("socket.io-client");
var socket, stream;
var config = {
iceServers: [{
urls: [ "stun:dev.linx.safemobil.com:3478" ]
}, {
username: "sergiu ",
credential: "test123",
urls: [
"turn:dev.linx.safemobil.com:3478"
]
}],
//FOR CHROME
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"
// iceServers: [{
// urls: [ "stun:dev.linx.safemobil.com:3478" ]
// }, {
// username: "sergiu ",
// credential: "test123",
// urls: [
// "turn:dev.linx.safemobil.com:3478"
// ]
// }],
// //FOR CHROME
// 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 pc = new RTCPeerConnection(config)
let localStream, remoteStream
@ -287,7 +287,7 @@ class App extends Component {
return (
<div className="App">
<h1>WebRTC Client 0.8 - {Math.random()}</h1>
<h1>WebRTC Client 0.1 - {Math.random()}</h1>
<br></br>
<h2><u>STUN and TURN servers</u></h2>