Skip to content

Commit

Permalink
update version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimalZed committed Apr 12, 2020
1 parent 2074f2b commit d7678b4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "epitaph",
"version": "1.2.0",
"version": "1.3.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
6 changes: 2 additions & 4 deletions src/app/services/rtc.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const environment = {
production: true,
basePath: "/epitaph",
serverHost: "https://epitaph-signalling.azurewebsites.net"
serverHost: "https://epitaph-signaling.azurewebsites.net"
};
1 change: 1 addition & 0 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const environment = {
production: false,
basePath: "",
serverHost: "https://localhost:44347"
// serverHost: "https://epitaph-signaling.azurewebsites.net"
};

/*
Expand Down

0 comments on commit d7678b4

Please sign in to comment.