bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/video-provider
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
..
many-users-notify move button component to common folder 2022-02-14 20:20:50 +00:00
video-button Merge tag 'v2.5.1' into merge25-26-jun16 2022-06-16 13:58:54 -03:00
video-list remove duplicated webcam label 2022-07-04 10:41:27 -03:00
component.jsx fix(webcam): handle stream inactivation/gUM revocations 2022-07-12 22:03:01 +00:00
container.jsx remove old media, webcam draggable and panel components 2021-08-05 04:26:03 -03:00
service.js refactor(webcam): remove unused code in video-provider/service 2022-05-02 14:43:48 +00:00
stream-sorting.js feat(webcams): client side implementation of webcam pin 2021-12-21 16:58:39 -03:00