Skip to content

Commit

Permalink
Force TSL pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickmuhi committed Jun 26, 2018
1 parent f87c5e9 commit e0cab02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/web_app/js/call.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ Call.prototype.connectToRoom_ = function(roomId) {

this.params_.clientId = roomParams.client_id;
this.params_.roomId = roomParams.room_id;
this.params_.roomLink = roomParams.room_link;
this.params_.roomLink = roomParams.room_link.replace('http:', 'https:');
this.params_.isInitiator = roomParams.is_initiator === 'true';

this.params_.messages = roomParams.messages;
Expand Down Expand Up @@ -476,8 +476,9 @@ Call.prototype.createPcClient_ = function() {

Call.prototype.startSignaling_ = function() {
trace('Starting signaling.');
trace('RoomID = '+this.params_.roomId+' ROOM LINK= '+this.params_.roomLink);
if (this.isInitiator() && this.oncallerstarted) {
this.oncallerstarted(this.params_.roomId, this.params_.roomLink);
this.oncallerstarted(this.params_.roomId, this.params_.roomLink.replace('http:', 'https:'));
}

this.startTime = window.performance.now();
Expand Down

0 comments on commit e0cab02

Please sign in to comment.