From edede51721bfcfd6aecdf15af61c1b955addbc63 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Wed, 27 Jan 2021 12:05:21 +0200 Subject: [PATCH] Update client --- src/App.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/App.js b/src/App.js index 705e85f..9a615a4 100644 --- a/src/App.js +++ b/src/App.js @@ -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 {

WebRTC Client 0.7

- {this.state.testCount}

STUN and TURN servers