mirror of https://github.com/OpenVidu/openvidu.git
WebRtcPeer: avoid getter syntax that doesn't compile with old Angular in testapp
parent
36f3d305d3
commit
c16f4b9664
|
@ -481,7 +481,7 @@ export class Stream {
|
||||||
let webrtcId;
|
let webrtcId;
|
||||||
if (!!this.webRtcPeer) {
|
if (!!this.webRtcPeer) {
|
||||||
this.webRtcPeer.dispose();
|
this.webRtcPeer.dispose();
|
||||||
webrtcId = this.webRtcPeer.id;
|
webrtcId = this.webRtcPeer.getId();
|
||||||
}
|
}
|
||||||
this.stopWebRtcStats();
|
this.stopWebRtcStats();
|
||||||
logger.info((!!this.outboundStreamOpts ? 'Outbound ' : 'Inbound ') + "RTCPeerConnection with id [" + webrtcId + "] from 'Stream' with id [" + this.streamId + '] is now closed');
|
logger.info((!!this.outboundStreamOpts ? 'Outbound ' : 'Inbound ') + "RTCPeerConnection with id [" + webrtcId + "] from 'Stream' with id [" + this.streamId + '] is now closed');
|
||||||
|
|
|
@ -97,7 +97,7 @@ export class WebRtcPeer {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
get id(): string {
|
getId(): string {
|
||||||
return this.configuration.id;
|
return this.configuration.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue