auth info bug fixed

This commit is contained in:
Abdussamed 2023-04-28 22:02:29 +03:00
parent 91e553aa0c
commit ad3ca3f58b
3 changed files with 4 additions and 4 deletions

View File

@ -42,9 +42,9 @@ export default class Peer extends EventTarget
this.emit("message", data);
});
}
public createRTC() : WebRTC
public createRTC(rtcConfig?: RTCConfiguration | undefined, rtcServers?: RTCIceServer[] | undefined) : WebRTC
{
this.rtc = new WebRTC();
this.rtc = new WebRTC(rtcConfig,rtcServers);
this.rtc.peer = this;
this.rtc.on("connected", () => {
this.peerConnection = true;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long