File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -221,4 +221,6 @@ function handleTrackEvent(e, topic) {
221
221
senderStream [ topic ] = e . streams [ 0 ]
222
222
}
223
223
224
- app . listen ( process . env . REACT_APP_SIGNALLING_SERVER_PORT , ( ) => console . log ( Date ( Date . now ( ) ) . toString ( ) , 'Server started' ) )
224
+ app . listen ( process . env . REACT_APP_SIGNALLING_SERVER_PORT , ( ) =>
225
+ console . log ( Date ( Date . now ( ) ) . toString ( ) , 'Server started on port' , process . env . REACT_APP_SIGNALLING_SERVER_PORT )
226
+ )
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ export class WebRTCConnection {
46
46
console . log ( 'onnegotiationneeded' )
47
47
const offer = await this . peerConnection . createOffer ( )
48
48
await this . peerConnection . setLocalDescription ( offer )
49
- const ip = await this . getIPAddress ( )
49
+ // const ip = await this.getIPAddress()
50
50
const payload = {
51
51
sdp : this . peerConnection . localDescription ,
52
- topic : this . topic ,
53
- ip : ip
52
+ topic : this . topic
53
+ // ip: ip
54
54
}
55
55
console . log ( 'sending payload' , payload )
56
56
const { data } = await axios . post ( this . url , payload )
You can’t perform that action at this time.
0 commit comments