WebRtcPeer: avoid getter syntax that doesn't compile with old Angular in testapp

pull/577/head
Juan Navarro 2021-06-11 14:57:19 +02:00
parent 36f3d305d3
commit c16f4b9664
2 changed files with 2 additions and 2 deletions

View File

@ -481,7 +481,7 @@ export class Stream {
let webrtcId;
if (!!this.webRtcPeer) {
this.webRtcPeer.dispose();
webrtcId = this.webRtcPeer.id;
webrtcId = this.webRtcPeer.getId();
}
this.stopWebRtcStats();
logger.info((!!this.outboundStreamOpts ? 'Outbound ' : 'Inbound ') + "RTCPeerConnection with id [" + webrtcId + "] from 'Stream' with id [" + this.streamId + '] is now closed');

View File

@ -97,7 +97,7 @@ export class WebRtcPeer {
});
}
get id(): string {
getId(): string {
return this.configuration.id;
}