Update callId update

This commit is contained in:
Sergiu Toma 2021-02-17 14:21:35 +02:00
parent f7b4a70e92
commit f32a942c00

View File

@ -6,35 +6,35 @@ const io = require("socket.io-client");
var socket, stream; 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 = { var config = {
iceServers: [{ iceServers: [{
urls: [ "stun:numb.viagenie.ca" ] urls: [ "stun:dev.linx.safemobil.com:3478" ]
}, { }, {
username: "claudiustancu@outlook.com", username: "sergiu ",
credential: "Parola123", credential: "test123",
urls: [ urls: [
"turn:numb.viagenie.ca" "turn:dev.linx.safemobil.com:3478"
] ]
}], }],
//FOR CHROME
//FOR CHROME rtcpMuxPolicy:"negotiate"
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 = { // var config = {
// iceServers: [{ // iceServers: [{
// //urls: [ "stun:numb.viagenie.ca" // //urls: [ "stun:numb.viagenie.ca"
@ -306,7 +306,7 @@ class App extends Component {
return ( return (
<div className="App"> <div className="App">
<h1>WebRTC Client 0.1 - {Math.random()}</h1> <h1>WebRTC Client 0.2 - {Math.random()}</h1>
<br></br> <br></br>
<h2><u>STUN and TURN servers</u></h2> <h2><u>STUN and TURN servers</u></h2>