bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/video-preview
prlanzarin 029c957b22 fix(webcam): handle stream inactivation/gUM revocations
The 'inactive' event is fired whenever the stream gets inactive (ie it
cannot be used anymore), and there are scenarios where that is
unexpected behavior and must be handled accordingly.
The main example of that is when gUM permissions are revoked by the user
via the browser's permission management panel.
Since MediaStream/Track inactive events aren't being handled in such
scenarios, what actually happens is that the camera just freezes without
further indication why.

This commit handles those scenarios in both video-preview and
video-provider by:
  - 1) correctly stopping the camera (provider)
  - 2) surfacing a toast (provider) or error indication (preview)
2022-07-12 22:03:01 +00:00
..
virtual-background fix: margin unit 2022-06-30 17:10:48 -03:00
component.jsx fix(webcam): handle stream inactivation/gUM revocations 2022-07-12 22:03:01 +00:00
container.jsx Merge remote-tracking branch 'bbb/v2.4.x-release' into merge-24-into-25 2022-03-03 18:35:05 +00:00
service.js fix(webcam): handle stream inactivation/gUM revocations 2022-07-12 22:03:01 +00:00
styles.js move modal component to common folder 2022-02-15 15:54:55 +00:00