Commit Graph

14348 Commits

Author SHA1 Message Date
André Castro
a198509c99
style(modal): Update modal styles for better positioning on small screens (#21289) 2024-10-01 15:43:02 -03:00
Gustavo Trott
3fb6dd71d2 Edit graphql type UserCamera to suport either camera or screenshare
Add fields:
	contentType: to identify whether is camera or screenshare
	hasAudio: useful for screenshare
	focused: indicates if this screenshare will be shown in presentation area
2024-10-01 14:39:48 -03:00
André Castro
87964cabde
refactor/fix(settings): Refactor animation settings retrieval to fix problem with refreshing. (#21284) 2024-09-30 13:33:53 -03:00
Anton Georgiev
f283f11274
Merge pull request #21279 from ramonlsouza/fix-custom-locale
fix(audio-captions): label generation for audio captions with custom locales
2024-09-30 10:18:25 -04:00
André Castro
4b0cd2b522
feat(layout/observer): Add user preference for dark theme in LayoutObserver component. (#21255)
* feat(layout/observer): Add user preference for dark theme in `LayoutObserver` component.

* feat(docs/administration): Add support for default dark theme preference parameter

* refactor(settings): Remove dark theme setting from LayoutObserver and move it to Settings class.
2024-09-30 10:33:41 -03:00
Ramón Souza
f74a0657ba
refactor(styles): Update DtfInvert background color (#21277)
Refactor styles to update the background color of connection status bars in dark mode. The #connectionBars > div now has a background color of var(--darkreader-neutral-text)
2024-09-30 09:58:49 -03:00
João Victor Nunes
8e83d93eb0
feat(audio): track mute state by meeting (#21095) 2024-09-27 19:13:08 -04:00
Ramón Souza
365a5e2274 fix(audio-captions): label generation for audio captions with custom locales
This commit refactors the label generation for audio captions in the audio-captions button and captions components. Instead of directly using the intl formatMessage function, the label is now generated using the intlMessages object and the getLocaleName function from the audio-captions service. This change prevents an issue with custom locales.
2024-09-27 16:44:25 -03:00
Gustavo Trott
a6ffe1350f
Merge pull request #21102 from gustavotrott/clone-user-session
feat (bbb-web): Implements session duplication with `getJoinUrl` endpoint
2024-09-27 11:33:47 -03:00
Á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
9f18221fc9
fix: Custom styles not applying to loading screen (#21263)
* fix: Custom styles not applying to loading screen

* fix: Apply custom styles before rendering children

* fix: Use Object.assign instead of spread syntax

* fix: Add cleanup function to clear the timeout and abort the fetch

* fix: Clear the timeout if the fetch completes successfully

* refactor: Remove unused queries file
2024-09-27 10:28:26 -04:00
André Castro
ece4ab7ec2
refactor(settings/service): Refactor to remove unnecessary for notification. (#21235) 2024-09-27 10:27:19 -04:00
Gustavo Trott
e70f18be6b
Merge branch 'v3.0.x-release' into clone-user-session 2024-09-26 13:32:22 -03:00
Anton Georgiev
35c29836b2
Merge pull request #21069 from KDSBrowne/bbb-21035
fix(whiteboard): Clear non-current page shapes from the tldraw store
2024-09-25 16:18:32 -04:00
João Victor Nunes
e43b1e454b
fix(timer): beep failing to play intermittently (#21222)
* fix(timer): beep failing to play intermittently

* fix(typescript): omit elapsed field from timer panel props
2024-09-25 15:42:16 -04:00
KDSBrowne
694dc2d4d9
fix(whiteboard): Correct tldraw camera after full screen exits (#21232)
* fix presenter resize error

* fix current tldraw camera position when exiting fullscreen
2024-09-25 14:54:21 -04:00
schrd
5a8217caa9
3.0beta1 clusterfixes (#21132)
* Fix: allow CORS requests to graphql API

In cluster setups the Graphql API endpoints are fetched as a CORS
request. We need to allow that.

* Fix: Allow CORS requests to ping endpoint

In cluster setups the ping is sent directly to the BBB server. So it
needs to allow CORS requests for cluster setups.

* Fix: construct relative API path for cluster setups

* Fix: adjust docs for cluster setup

As bbb-html5 client is static, setup instructions for cluster setup have
to be changed accordingly.

* Fix docs: remove superfluous  ```yaml

This must have been introduced by accident.

---------

Co-authored-by: Daniel Schreiber <daniel.schreiber@hrz.tu-chemnitz.de>
2024-09-25 13:48:17 -04:00
João Victor Nunes
8a106b7887
style(presentation-toast): apply toast styles (#21239)
* style(presentation-toast): apply toast styles

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

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-09-25 12:16:43 -04:00
Anton Georgiev
6f5482dae3
Merge pull request #21139 from danielpetri1/show-poll-result-in-bbb-playback
refactor(bbb-html5): Remove custom poll shape
2024-09-25 10:39:56 -04:00
KDSBrowne
e54fb07423 add boundry check for creating tl-cameras | updates 2024-09-24 21:24:40 +00:00
KDSBrowne
7bfb485623 Merge branch 'v3.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-21035 2024-09-24 18:45:26 +00:00
Anton Georgiev
229a4a0b92
Merge pull request #21187 from JoVictorNunes/app-component-cleanup-0912
refactor: App component cleanup, part 2
2024-09-24 14:42:53 -04:00
Anton Georgiev
575091b4b9
Merge pull request #21245 from ramonlsouza/sonarcloud-set24
refactor: sonarcloud alerts
2024-09-24 13:52:50 -04:00
Ramón Souza
8721b4b537
adjust confirmation modal props (#21238) 2024-09-24 09:48:40 -04:00
Gustavo Trott
394f01bf9f resolve conflicts 2024-09-24 10:07:46 -03:00
Ramón Souza
e76b323567 remove unused import 2024-09-24 09:02:35 -03:00
Ramón Souza
128e568531 remove unused prop 2024-09-24 08:55:28 -03:00
Ramón Souza
cf09d183ea remove empty object 2024-09-24 08:52:28 -03:00
Ramón Souza
946ec031fd remove extra argument in function call 2024-09-24 08:49:53 -03:00
João Victor Nunes
c380378088
fix(connection): tweak shouldRetry handler logging (#21070)
* fix(connection): tweak shouldRetry handler logging

* fix: Add extraInfo payloads
2024-09-23 19:26:49 -04:00
Anton Georgiev
919ae4cb00
Merge branch 'v3.0.x-release' into show-poll-result-in-bbb-playback 2024-09-23 16:06:42 -04:00
Anton Georgiev
0847134701
Merge pull request #21224 from germanocaumo/fix-whiteboard-partialupdates
fix(whiteboard): partial updates + some fixes
2024-09-23 15:39:14 -04:00
germanocaumo
0a984347a0 fix(tldraw): restore shapesVersion + customParam 2024-09-23 14:24:22 -03:00
André Castro
3053ddac20
fix(audio/muteToggle): Fix mute loading state on push to talk (#21199) 2024-09-23 11:23:41 -04:00
Ramón Souza
f2054e4df7
fix issue with recording icon not appearing in mobile devices (#21206) 2024-09-23 10:50:44 -04:00
Lucas
af2a24eef4
feat(screenshare): Option to show disabled screenshare button for non presenters (#21082)
* feat(screenshare): Option to show disabled screenshare button for non presenters

* Update bigbluebutton-html5/imports/ui/components/screenshare/service.js

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-09-23 09:51:18 -03:00
danielpetri1
6fa4595b2d Merge branch 'v3.0.x-release' into show-poll-result-in-bbb-playback 2024-09-20 21:26:41 +00:00
Paulo Lanzarin
5760fb5648
fix(audio): restore "add more data to audio_joined/failure logs" (#21215)
Commit 26815f4679 was seemingly lost
during a merge in the 3.0.x-release branch. Nothing breaks, but we're
missing the log info originally added via that commit.

Restore the changes in 26815f4679:
  - Add secondsToActivateAudio, inputDeviceId, outputDeviceId and isListenOnly
to audio_joined.extraInfo
  - Add inputDeviceId, outputDeviceId and isListenOnly to
audio_failure.extraInfo
  - Add a try-catch to the device enforcement procedure triggered by
onAudioJoin - it may throw and block the modal.
2024-09-20 06:37:51 -04:00
Paulo Lanzarin
14c92a3843
feat: add experimental support for ICE restart (#21208)
We currently use full renegotiation for audio, video, and screen sharing
reconnections, which involves re-creating transports and signaling channels
from scratch. While effective in some scenarios, this approach is slow and,
especially with outbound cameras and screen sharing, prone to failures.

To counter that, WebRTC provides a mechanism to restart ICE without needing
to re-create the peer connection. This allows us to avoid full renegotiation
and bypass some server-side signaling limitations. Implementing ICE restart
should make outbound camera/screen sharing reconnections more reliable and
faster.

This commit implements the ICE restart procedure for all WebRTC components'
*outbound* peers. It is based on bbb-webrtc-sfu >= v2.15.0-beta.0, which
added support for ICE restart requests. This feature is *off by default*.
To enable it, adjust the following flags:
- `/etc/bigbluebutton/bbb-webrtc-sfu/production.yml`: `allowIceRestart: true`
- `/etc/bigbluebutton/bbb-html5.yml`: `public.kurento.restartIce`
  * Refer to the inline documentation; this can be enabled on the client side
    per media type.
  * Note: The default max retries for audio is lower than for cameras/screen
    sharing (1 vs 3). This is because the full renegotiation process for audio
    is more reliable, so ICE restart is attempted first, followed by full
    renegotiation if necessary. This approach is less suitable for cameras/
    screen sharing, where longer retry periods for ICE restart make sense
    since full renegotation there is... iffy.

Endpoints that are inbound/`recvonly` only (client's perspective) do *not*
support ICE restart yet. There are two main reasons:
  - Server-side changes are required to support `recvonly` endpoints,
    particularly the proper handling of the server’s `setup` role in the
    its SDPs during an ICE restart. These changes are too broad for now,
    so they are deferred to future releases (SFU@v2.16).
  - Full reconnections for `recvonly` endpoints are currently reliable,
    unlike for `send*` endpoints. ICE restarts could still provide benefits
    for `recvonly` endpoints, but we need the server updates first.
2024-09-20 06:35:32 -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
germanocaumo
845ccc5ce7 fix(tldraw): group remove updates + fix shape max limit
- We were sending one websocket message for each removed shape, send only one with all IDs.
- The shape limit verification was not always working with rapid updates and if somehow the db got more shapes,
the users couldn't update or delete any shape anymore
- Unnecessary remove shape messages were being sent to the server when going over limit
2024-09-19 16:17:11 -03:00
Ramón Souza
4c1bc432a8
fix: client logger streams being created at export time (#21219)
* fix: logger streams being created at export time

* fix typescript warnings

* fix: default logger is only returned in the second call
2024-09-19 15:57:27 -03:00
André Castro
9809037790
fix/style(button): Add responsive styles for button on small screens (#21213)
* Fix: [3.0] Distorted microphone loading animation on smaller screens (mobile)

* Fix distorted loading anim

* style(button): Add responsive styles for button on small screens

* Update styles.js
2024-09-19 15:26:37 -03:00
Ramón Souza
1a36f24445
fix chat popup notification for user away (#21212) 2024-09-19 13:35:39 -04:00
germanocaumo
f7468b6fc2 fix(tldraw): only send diffs updates to server
When a shape is changed, the full shape objcect was being transmitted to the server again.
Do a diff to only send what changed (similarly  as it was in tldraw v1) to save upload bw.

TODO:
Draw segments diffs (array) is still not working, so all the segments are still being sent every time.
2024-09-19 12:38:57 -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
df868e6048
Log whether the user chose to Continue or Leave (#21198)
Co-authored-by: Anton Georgiev <anto.georgiev@gmail.com>
2024-09-19 09:21:10 -03:00
germanocaumo
eef565ec81 refactor(whiteboard): lint file and remove unused code
Clean all warning and errors from linter.
2024-09-18 12:21:16 -03:00
Gustavo Trott
e92293993a Merge remote-tracking branch 'upstream/v3.0.x-release' into clone-user-session 2024-09-18 10:05:04 -03:00
João Victor
7d805d60c3 fix(screenshare): pass missing prop in 2024-09-17 18:50:32 -03:00