diff --git a/package.json b/package.json index aaf137b..0900293 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "epitaph", - "version": "1.2.0", + "version": "1.3.0", "scripts": { "ng": "ng", "start": "ng serve", diff --git a/src/app/services/rtc.service.ts b/src/app/services/rtc.service.ts index 0e73334..4cbfd65 100644 --- a/src/app/services/rtc.service.ts +++ b/src/app/services/rtc.service.ts @@ -130,12 +130,10 @@ export class RTCService { private initChannel(channel: RTCDataChannel, peer: string) { channel.onopen = (ev) => { - console.log("data channel sender connect", peer); - // TODO: Host should send starting data to peer. - // What if the host leaves?? + console.log("data channel connect", peer); }; channel.onclose = (ev) => { - console.log("data channel sender disconnect", peer); + console.log("data channel disconnect", peer); this.cleanChannels(); }; channel.onmessage = (ev) => { diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 368bf3f..8501964 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,5 +1,5 @@ export const environment = { production: true, basePath: "/epitaph", - serverHost: "https://epitaph-signalling.azurewebsites.net" + serverHost: "https://epitaph-signaling.azurewebsites.net" }; diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 9016acc..2e01342 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -6,6 +6,7 @@ export const environment = { production: false, basePath: "", serverHost: "https://localhost:44347" + // serverHost: "https://epitaph-signaling.azurewebsites.net" }; /*