Update callId update
This commit is contained in:
parent
a919b6efd6
commit
536642ad05
54
src/App.js
54
src/App.js
@ -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 pc = new RTCPeerConnection(config)
|
var pc = new RTCPeerConnection(config)
|
||||||
|
|
||||||
let localStream, remoteStream
|
let localStream, remoteStream
|
||||||
@ -287,7 +287,7 @@ class App extends Component {
|
|||||||
return (
|
return (
|
||||||
<div className="App">
|
<div className="App">
|
||||||
|
|
||||||
<h1>WebRTC Client 0.8 - {Math.random()}</h1>
|
<h1>WebRTC Client 0.1 - {Math.random()}</h1>
|
||||||
<br></br>
|
<br></br>
|
||||||
|
|
||||||
<h2><u>STUN and TURN servers</u></h2>
|
<h2><u>STUN and TURN servers</u></h2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user