auth info bug fixed
This commit is contained in:
parent
91e553aa0c
commit
ad3ca3f58b
|
@ -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
Loading…
Reference in New Issue