mirror of https://github.com/OpenVidu/openvidu.git
Update layout-best-fit.component.ts
parent
02e3d471d9
commit
26b954a1d9
|
@ -91,7 +91,7 @@ export class LayoutBestFitComponent implements OnInit, OnDestroy {
|
||||||
});
|
});
|
||||||
|
|
||||||
const port = !!location.port ? (':' + location.port) : '';
|
const port = !!location.port ? (':' + location.port) : '';
|
||||||
const token = 'wss://' + location.hostname + location.port + '?sessionId=' + this.sessionId + '&secret=' + this.secret + '&recorder=true';
|
const token = 'wss://' + location.hostname + port + '?sessionId=' + this.sessionId + '&secret=' + this.secret + '&recorder=true';
|
||||||
this.session.connect(token)
|
this.session.connect(token)
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|
Loading…
Reference in New Issue