Update client

This commit is contained in:
Sergiu Toma 2021-01-27 12:05:21 +02:00
parent 0d6c219128
commit edede51721

View File

@ -69,8 +69,7 @@ class App extends Component {
stunUrl: 'stun:10.120.1.134:19302',
turnUrl: 'turn:10.120.1.134:19302',
turnUsername: 'safemobile',
turnCredential: 'Safemobile123',
testCount: 0
turnCredential: 'Safemobile123'
};
}
@ -83,15 +82,6 @@ class App extends Component {
// }, 500)
}
// testMessage = async () => {
// window.postMessage('s', popupUrl);
// // console.log(this.state.testCount)
// // this.setState((prevState, props) => ({
// // testCount: prevState.testCount + 1
// // }));
// // windowObjectReference.postMessage('[WINDOW] messageeeeeeeeeeeeee', popupUrl)
// }
handleLoginClick = async () => {
const loginRequest = await fetch('https://dev.linx.safemobile.com/api/login', {
// const loginRequest = await fetch('http://localhost:41418/login', {
@ -417,7 +407,6 @@ class App extends Component {
<div className="App">
<h1>WebRTC Client 0.7</h1>
{this.state.testCount}
<br></br>
<h2><u>STUN and TURN servers</u></h2>