Commit Graph

168 Commits

Author SHA1 Message Date
Átila
b62199683f
fix(video-preview): blur behavior correction (#21112)
* fix(video-preview): blur behavior correction

* fix(video-preview): blur behavior correction

* Update bigbluebutton-html5/imports/ui/components/video-preview/component.jsx

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-09-27 10:29:46 -04:00
João Victor Nunes
c0caa45b67
fix(webcam): do not skip video preview if initial device is already shared (#21209) 2024-09-19 16:30:52 -03:00
Ramón Souza
6c85c42338
fix: video preview - add safeguard when checking for video srcObject (#21221) 2024-09-19 10:42:34 -04:00
Ramón Souza
776215ec58
restore react 18 createRoot render method (#21041)
* restores react18 createRoot

* fix slideChange issue - new slide not loading

* fix skip video preview

* test: update screenshare function checks + close notifications

---------

Co-authored-by: Anton B <antonbsa.bck@gmail.com>
2024-09-12 14:34:36 -03:00
Átila
226a5bda63
feat(modal): added blur backdrop filter when user join the room (#21029) 2024-08-27 13:39:11 -03:00
João Victor Nunes
fe67566334
[3.0] feat: Accept custom webcamBackgroundURL (#20920)
* [3.0] feat: Accept custom webcamBackgroundURL

* docs: webcamBackgroundURL

* test: Update virtual background thumbnail image

* fix: tweak error logs for the webcamBackgroundURL fetching procedure

* test: Update virtual background thumbnail image

* fix(logging): do not specify null extraInfo object

Co-authored-by: Paulo Lanzarin <4529051+prlanzarin@users.noreply.github.com>

* fix(logging): extract fields from error object for building extraInfo object

Co-authored-by: Paulo Lanzarin <4529051+prlanzarin@users.noreply.github.com>

---------

Co-authored-by: Paulo Lanzarin <4529051+prlanzarin@users.noreply.github.com>
2024-08-23 09:04:56 -03:00
germanocaumo
cbe0b4f6ae
feat(webcams): skip video preview if valid input devices stored (#20696)
* feat(webcams): skip video preview if valid input devices stored

Additionally:

- refactor: re-use the existing VirtualBackground_* storage info instead
  of creating a new one
- fix: store background choices per deviceId instead of globally
- fix: guarantee background restore attempts are *critical* when
  video-preview is supposed to be skipped. We want the preview to be
  shown if the previous background could not be restored to preserver
  the user's privacy choice
- fix: cameras could not be shared if no previous device info was in
  the user's session
- fix: uploaded background images were not correctly restored
- fix: do not spin up virtual bg workers for brightness if it has not
  been altered by the user
- refactor: remove old video-provider background restore routine,
  centralize it in video-preview

* fix(skip-video-preview): correct storage check and add playwright test and docs

---------

Co-authored-by: prlanzarin <4529051+prlanzarin@users.noreply.github.com>
2024-07-18 16:24:10 -04:00
João Victor
f3de5d3bd2 fix: hide virtual background controls in unsupported browsers 2024-07-05 16:44:21 -03:00
germanocaumo
1484179251 fix(video-preview): several fixes +
- Fix deviceId being read from wrong storage (making it not detected as already sharing)
- Remove added by mistake profile filtered by metadata
- Fix background and brightness selector being show when sharing camera that is being presented
2024-06-20 17:18:52 -03:00
germanocaumo
8e1b2a9155 fix(video-preview): update tests to new design + fix missing prop 2024-06-19 12:00:24 -03:00
germanocaumo
d00454136b Merge branch 'v3.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into new-video-preview-design 2024-06-17 15:27:36 -03:00
germanocaumo
47630895ca Merge branch 'v3.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into new-video-preview-design 2024-06-17 09:35:06 -03:00
João Victor
13425335df Fix imports 2024-06-17 08:54:03 -03:00
germanocaumo
09737d261d video-preview: remove leftover code, stock buttons 2024-06-14 14:31:27 -03:00
AtilaU19
d74e79238a fix(video-preview): style improvements for small and medium screens 2024-06-14 13:14:33 -03:00
AtilaU19
e328049b19 fix(video-preview): retuned for small screens 2024-06-14 12:32:11 -03:00
AtilaU19
8f5434365c fix(video-preview): behavior correction for camera as content 2024-06-14 12:27:21 -03:00
AtilaU19
ff4fe80e80 fix(video-preview): corrections of new modal 2024-06-14 12:22:39 -03:00
João Victor
78958ccf45 Remove meeting adapter consumption 2024-06-14 10:30:48 -03:00
germanocaumo
df8f526ec6 feat(video-preview): new modal design 2024-06-13 13:46:45 -03:00
Ramón Souza
7514066fc3
fix: Client can't load in certain cases (#20336)
* move settings

* remove meteor cache files
2024-05-29 09:26:11 -04:00
João Victor
1f8a95a3ff Remove video-streams subscription 2024-04-24 17:09:00 -03:00
Anton Georgiev
ef300cf28e
chore: Fix typo (found by typos) (port) #19834
Co-authored-by: Stefan Weil <sw@weilnetz.de>
2024-03-18 09:58:53 -04:00
André Castro
58a0efe708
Migrate auth and settings to graphQL (#19507) 2024-03-06 14:28:18 -03:00
Carlos
1aa659a1ff fix(camera as content): removed extra configs in the modal 2023-05-09 17:21:48 -03:00
Carlos
5ddfb8b883 fix(camera as content): merge fixes 2023-05-09 17:21:48 -03:00
Arthurk12
d0c460f9c0 fix(camera as content): device sharing
Prevents the same camera device from being shared twice(webcam and "camera
as content"). The camera device shared using the camera as content feature
is tracked locally and then taken into account in the video-preview modal.
2023-05-09 17:21:48 -03:00
Carlos
8f8bfc8903 feat(camera as content): port to BBB
Enables the presenter to share a camera in the presentation area.
The shared camera automatically uses a pre-defined, fixed and hidden camera.
Profile defined in the settings.yml file.
It is currently using the screenshare's backend.
2023-05-09 17:21:46 -03:00
GuiLeme
d1025fcbe5 [issue-16954] - Changes in review and fix of minor bugs 2023-04-12 12:51:23 -03:00
GuiLeme
5f3296fdb1 [issue-16954] - last migrations - VideoPreview and drag and drop of background 2023-03-27 12:36:25 -03:00
Anton B
9278ed296c fix: avoid aria warning 2023-01-25 16:50:10 -03:00
Joao Victor
97ad47d010 Create a new checkbox component 2022-12-14 17:03:23 -03:00
Ramón Souza
c9717e6a6c
Merge pull request #15966 from JoVictorNunes/issue-15900
style: standardize padding, spacing and header font size/weight of several modals
2022-11-10 16:36:33 -03:00
Joao Victor
777eebfc37 Centralize header styles in a new component 2022-11-10 15:09:21 -03:00
Ramón Souza
cdc2bc7e04
Merge pull request #15770 from JoVictorNunes/store-webcam-microphone
improvement: share audio and video setup among different sessions
2022-11-09 10:37:52 -03:00
Ramón Souza
38b49d8792
Merge pull request #15841 from JoVictorNunes/issue-15834
fix(webcam): brightness not working when changing quality profile
2022-10-31 14:28:58 -03:00
Joao Victor
b552ae5507 fix(webcam): brightness not working when changing quality profile 2022-10-13 16:26:25 -03:00
Joao Victor
3f07430ff4 improvement: store last shared webcam 2022-10-03 08:09:03 -03:00
KDSBrowne
b73ad8a85f update aria descriptions in video preview modal | fix checkbox aria label 2022-09-30 15:24:24 +00:00
Paulo Lanzarin
362785a83a
Merge pull request #15647 from prlanzarin/u26/fix/cam-profile-switch-notreadableerror
fix(webcam): switching profiles in preview fails intermittently
2022-09-08 15:11:33 -03:00
prlanzarin
646db91367 fix(webcam): add MediaStream id to 'inactive' event handlers
BBBVideoStream 'inactive' event currently does not send the
MediaStream id as the payload for handlers. This can cause theoretical
race conditions due to media stream mismatches in places where
'inactive' handling is done globally (eg video-preview).

This adds the MediaStream id to BBBVideoStream's 'inactive' event
and uses it in video-preview to avoid such race conditions.
2022-09-06 12:31:26 +00:00
Joao Victor
d4949bd7cf fix(camera): disable brightness on Safari and stop segmentation if brightness is unchanged 2022-09-01 09:29:08 -03:00
Joao Victor
24c227cc75 Merge 2.6.x-release into camera-brightness 2022-08-26 11:53:23 -03:00
Joao Victor
396f5320a4 feat(camera): set camera brightness 2022-08-26 11:50:46 -03:00
Joao Victor
54b146effe fix: add missing custom virtual background param 2022-08-25 08:30:36 -03:00
Anton Georgiev
1b7b63baf6 Merge branch 'v2.5.x-release' of github.com:bigbluebutton/bigbluebutton into cairosvg 2022-08-19 14:14:54 +00:00
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
Joao Victor
ddb63f8e71 fix: restore virtual background after leaving breakout room #15111 2022-06-14 09:40:13 -03:00
Joao Victor
a7e5869c91 feat(video): upload of own webcam virtual background 2022-05-10 14:17:16 -03:00
prlanzarin
d6c7f23a0e feat(audio): local echo test and audio energy meter
New features:
  - A simplified echo test mode that only does a local loopback (instead of
  going to FS and back)
  - A volume meter for microphone streams to the AudioSettings view

Those two features are experimental and disabled by default; see
public.app.media.simplifiedEchoTest and public.app.media.showVolumeMeter configs

Collateral changes:
  - fix: localize fallback device strings in AudioSettings/DeviceSelector
  - Refactor on some media stream utils to be re-usable across components
  - Refactor in AudioSettings to keep gUM #uses stable.
    * TODO: need to pass streams through AudioManager to avoid the surplus gUM.
  - fix(audio): drop ScriptProcessorNode usage (deprecated)
    * Used in volume meter for tracking - use hark instead
2022-04-11 19:21:56 +00:00