Fixing typipng in back
This commit is contained in:
parent
cc1cb2f671
commit
6c5772e849
2 changed files with 9 additions and 3 deletions
|
@ -301,7 +301,7 @@ export class IoSocketController {
|
|||
console.warn('Invalid WEBRTC_SIGNAL message received: ', data);
|
||||
return;
|
||||
}
|
||||
if(data && data.signal && (data.signal as any).type === "offer"){
|
||||
if(data.signal.type === "offer"){
|
||||
let roomOffer = this.offerScreenSharingByClient.get(data.roomId);
|
||||
if(!roomOffer){
|
||||
roomOffer = new Map<string, unknown>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue