bigbluebutton-Github/bigbluebutton-html5/imports
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
..
api Merge pull request #14786 from paultrudel/recording-api-changes 2022-06-30 15:57:23 -03:00
startup Merge tag 'v2.5.1' into merge25-26-jun16 2022-06-16 13:58:54 -03:00
ui fix(webcam): handle stream inactivation/gUM revocations 2022-07-12 22:03:01 +00:00
utils Merge 2.6 2022-06-29 17:38:21 -03:00