WebRTC Module
This commit is contained in:
parent
06d822e576
commit
21c822152b
|
@ -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
Loading…
Reference in New Issue