Add screensharing behind a feature flag
This commit is contained in:
parent
7c7f7ee5a0
commit
ceffc2380c
49 changed files with 2044 additions and 164 deletions
|
@ -54,6 +54,20 @@ class CallingTones {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
// eslint-disable-next-line class-methods-use-this
|
||||
async someonePresenting() {
|
||||
const canPlayTone = await window.getCallRingtoneNotification();
|
||||
if (!canPlayTone) {
|
||||
return;
|
||||
}
|
||||
|
||||
const tone = new Sound({
|
||||
src: 'sounds/navigation_selection-complete-celebration.ogg',
|
||||
});
|
||||
|
||||
await tone.play();
|
||||
}
|
||||
}
|
||||
|
||||
export const callingTones = new CallingTones();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue