Create event to start webrtc screen charing
This commit is contained in:
parent
a4f42111d7
commit
a8f27e6084
5 changed files with 123 additions and 38 deletions
|
@ -405,6 +405,7 @@ export class MediaManager {
|
|||
}
|
||||
|
||||
isError(userId : string): void {
|
||||
console.log("isError", `div-${userId}`);
|
||||
const element = document.getElementById(`div-${userId}`);
|
||||
if(!element){
|
||||
return;
|
||||
|
@ -415,6 +416,10 @@ export class MediaManager {
|
|||
}
|
||||
errorDiv.style.display = 'block';
|
||||
}
|
||||
isErrorScreenSharing(userId : string): void {
|
||||
this.isError(`screen-sharing-${userId}`);
|
||||
}
|
||||
|
||||
|
||||
private getSpinner(userId : string): HTMLDivElement|null {
|
||||
const element = document.getElementById(`div-${userId}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue