WebRTC Module

This commit is contained in:
Abdussamed 2023-04-21 18:12:48 +03:00
parent 06d822e576
commit 21c822152b
3 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ export default class MWSE extends EventTarget {
{
this.EventPooling.signal('pack',(payload : {from:string,pack:any}) => {
let {from,pack} = payload;
this.peer(from, true).emit('message', pack);
this.peer(from, true).emit('pack', pack);
})
this.EventPooling.signal('request',(payload : {from:string,pack:any,id:number}) => {
let {from,pack, id} = payload;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long