Update callId update
This commit is contained in:
parent
f32a942c00
commit
d8f7caa6b1
60
src/App.js
60
src/App.js
@ -6,19 +6,19 @@ const io = require("socket.io-client");
|
|||||||
|
|
||||||
var socket, stream;
|
var socket, stream;
|
||||||
|
|
||||||
var config = {
|
// var config = {
|
||||||
iceServers: [{
|
// iceServers: [{
|
||||||
urls: [ "stun:dev.linx.safemobil.com:3478" ]
|
// urls: [ "stun:dev.linx.safemobil.com:3478" ]
|
||||||
}, {
|
// }, {
|
||||||
username: "sergiu ",
|
// username: "sergiu ",
|
||||||
credential: "test123",
|
// credential: "test123",
|
||||||
urls: [
|
// urls: [
|
||||||
"turn:dev.linx.safemobil.com:3478"
|
// "turn:dev.linx.safemobil.com:3478"
|
||||||
]
|
// ]
|
||||||
}],
|
// }],
|
||||||
//FOR CHROME
|
// //FOR CHROME
|
||||||
rtcpMuxPolicy:"negotiate"
|
// rtcpMuxPolicy:"negotiate"
|
||||||
}
|
// }
|
||||||
|
|
||||||
// var config = {
|
// var config = {
|
||||||
// iceServers: [{
|
// iceServers: [{
|
||||||
@ -35,24 +35,24 @@ var config = {
|
|||||||
// rtcpMuxPolicy:"negotiate"
|
// rtcpMuxPolicy:"negotiate"
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// var config = {
|
var config = {
|
||||||
// iceServers: [{
|
iceServers: [{
|
||||||
// //urls: [ "stun:numb.viagenie.ca"
|
//urls: [ "stun:numb.viagenie.ca"
|
||||||
// urls: [ "stun:dev.linx.safemobile.com:19302" ]
|
urls: [ "stun:dev.linx.safemobile.com:19302" ]
|
||||||
// }, {
|
}, {
|
||||||
// //username: "claudiustancu@outlook.com",
|
//username: "claudiustancu@outlook.com",
|
||||||
// username: "sergiu",
|
username: "sergiu",
|
||||||
// //credential: "Parola123",
|
//credential: "Parola123",
|
||||||
// credential: "test123",
|
credential: "test123",
|
||||||
// urls: [
|
urls: [
|
||||||
// // "turn:numb.viagenie.ca"
|
// "turn:numb.viagenie.ca"
|
||||||
// "turn:dev.linx.safemobile.com:19302"
|
"turn:dev.linx.safemobile.com:19302"
|
||||||
// ]
|
]
|
||||||
// }],
|
}],
|
||||||
|
|
||||||
// //FOR CHROME
|
//FOR CHROME
|
||||||
// rtcpMuxPolicy:"negotiate"
|
rtcpMuxPolicy:"negotiate"
|
||||||
// }
|
}
|
||||||
|
|
||||||
var pc = new RTCPeerConnection(config)
|
var pc = new RTCPeerConnection(config)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user