Commit Graph

43026 Commits

Author SHA1 Message Date
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
0fcdf7096c Sync lockfile 2024-09-20 21:46:51 +00:00
danielpetri1
26e17c2ad6 Update tldraw version 2024-09-20 21:40:26 +00:00
danielpetri1
6fa4595b2d Merge branch 'v3.0.x-release' into show-poll-result-in-bbb-playback 2024-09-20 21:26:41 +00:00
danielpetri1
5aeacf115e Position poll in the bottom-right corner 2024-09-20 13:39:31 +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
Anton Georgiev
d0af31d980
docs: added link to beta.1 2024-09-20 06:27:30 -04:00
Anton Georgiev
f0d808d71b
chore: Bump release to 3.0.0-beta.2 2024-09-20 06:25:36 -04:00
Paulo Lanzarin
3f4eaf899e
build(bbb-webhooks): v3.2.2 (#21225)
v3.2.2
---
* fix: handle missing checksum in API requests
* fix: cleanup corrupted Redis mappings
* fix: stale meeting mappings due to incorrect inactivity report
* build: express@4.21.0
* build: sinon@19.0.2
2024-09-20 06:11:26 -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
Anton Barboza de Sá
2ea0c926b2
test: add flaky flag on presentation tests (#21218) 2024-09-19 11:55:13 -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
Gustavo Trott
cccd2d78c7
Refactor the logger to add more context like meetingId, userId and sessionToken. (#21188)
For DEBUG logs it also includes the file/line and function of the caller.
2024-09-18 08:48:36 -04:00
João Victor
7d805d60c3 fix(screenshare): pass missing prop in 2024-09-17 18:50:32 -03:00
João Victor
da02d9f1fd fix(screenshare): do not render the component if current user data is unavailable
- This avoids considering some default values erroneously.
2024-09-17 18:04:00 -03:00
João Victor
41c4d93b2f Merge branch 'v3.0.x-release' into app-component-cleanup-0912 2024-09-17 17:04:35 -03:00
KDSBrowne
a868eccd4f
fix(whiteboard): Batch shape updates and persist on idle or editing states (#21186)
* Batch shapes and persist on idle or editing states

* add highlight.idle to condition

Co-authored-by: germanocaumo <germanocaumo@gmail.com>

---------

Co-authored-by: germanocaumo <germanocaumo@gmail.com>
2024-09-17 15:57:25 -04:00
André Castro
208720f794
fix(modal/confirmation): Ensure focus is triggered on cancel button after modal update. (#21179) 2024-09-17 09:12:12 -03:00
Tainan Felipe
5dbefe373c
config(client): Cache limit time (#21075) 2024-09-16 14:30:10 -04:00
germanocaumo
dea3929a2a
fix(whiteboard): background white borders (#21136)
Background shape can show white borders due to rounding erros in the tldraw canvas, change size and position of background shape to avoid it.
Also disable tl container outline showing when in focus.
2024-09-16 14:19:41 -03:00
Arthur B. Grossi
d4565593d2
fix(dark-theme): adjust Dark Reader CSS selectors (#21074)
* fix(dark-theme): adjust Dark Reader CSS selectors

Clean up inverted css selectors passed to Dark Reader and add new ones
for elements not correctly transformed to dark theme. These include the
tldraw color picker, text shape color, selected color indicator, tool
opacity slider, and camera dock background.

* Suggestions from review

Co-authored-by: germanocaumo <germanocaumo@gmail.com>

* Suggestions from review

Co-authored-by: germanocaumo <germanocaumo@gmail.com>

* Suggestions from review

Co-authored-by: germanocaumo <germanocaumo@gmail.com>

* changes requested in review

* changes requested in review

---------

Co-authored-by: germanocaumo <germanocaumo@gmail.com>
2024-09-16 08:49:02 -04:00
Tainan Felipe
838565d52d
Add: Flag to enable apollo devtools in production (#21094)
* Add: Flag to enable apollo devtools in production

* Fix: missing field
2024-09-13 17:14:09 -03:00
Paulo Lanzarin
5f2b1b574d
build(bbb-webrtc-sfu): v2.15.0 (#21177)
v2.15.0
---
* feat: add restartIce support for video/screenshare modules
* refactor: rename ICE restart flag to `restartIce`, true by default
* build: pino@9.3.2
* build: config@3.3.12
* build: ws@8.18.0
* build: bufferutil@4.0.8
* build: mcs-js@0.0.20
* build: uuid@10.0.0
* build: mediasoup-client@3.7.16
* build: mediasoup@3.14.14
* build: SIP.js@v0.7.5.14
2024-09-13 16:06:20 -04:00
João Victor
bd8779d72c fix: undefined value access 2024-09-13 15:33:12 -03:00
João Victor
7c39525cb5 refactor: App component cleanup, part 2 2024-09-13 14:53:14 -03:00
Anton Georgiev
50a733c96a
docs: drop obsolete items from troubleshooting.md (#20874) 2024-09-13 10:29:03 -04:00
Anton Georgiev
f52bd7cf54
docs: update instructions for enabling sipjsHackViaWs in dev env (#21146) 2024-09-13 10:08:10 -04:00
Paulo Lanzarin
327c2c4624
fix: run full RTC stats collection only when necessary (#21073)
In BBB 3.0, a change was made to collect full WebRTC stats continuously.
This method gathers stats from *all* peers and *all* senders and receivers
every 2 seconds. Originally, it was intended to run only when the user opened
the connection status dialog, providing in-depth info in the UI and making it
available for copying.

This new behavior is not ideal. Running full stats collection every 2 seconds
in meetings with 20+ peers/transceivers wastes client resources since the
collected data is unused 99% of the time.

This commit reverts to the pre-3.0 behavior (≤2.7), where full stats collection
(`startNetworkMonitoring`) runs only when the connection status modal is open.
As a bonus, it fixes the packet loss status transition log to use the packet
loss percentage, which is the actual trigger metric.
2024-09-13 09:15:35 -04:00
Paulo Lanzarin
8b3ea9a1ee
Merge pull request #21167 from prlanzarin/u30/fix/audio-unmute-audiosettings-close
fix(audio): ensure initial local mute state when muteOnStart=true
2024-09-13 09:58:42 -03:00
Paulo Lanzarin
6b118bb03c
Merge pull request #21153 from prlanzarin/u30/fix/error-boundary-critical
fix: not all error boundaries should close audio/Apollo
2024-09-13 09:57:28 -03:00
Paulo Lanzarin
aa0b9fbcb2
Merge pull request #21121 from prlanzarin/u30/fix/localecho-output-change
fix(audio): local echo not tracking output device changes
2024-09-13 09:56:38 -03:00
Paulo Lanzarin
66e0d5ca09
Merge pull request #21092 from prlanzarin/u30/fix/audio-device-removal
fix(audio): detect and handle system device changes correctly
2024-09-13 09:55:52 -03:00
Paulo Lanzarin
8d932122a1
Merge pull request #21122 from bigbluebutton/sfu2150b1
build(bbb-webrtc-sfu): v2.15.0-beta.1
2024-09-13 09:55:17 -03:00
André Castro
1ae9a916a9
Ease in loading anim (#21135)
* Enhancement: Easing loading animation on buttons
2024-09-12 15:38:00 -03: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
Gabriel Luiz Porfirio
7a67c54e25
test: Updates whiteboard tests (#20414)
* fixing whiteboard tests

* fix undo whiteboard test

* finished updating whiteboard tests

* updated two tests

* updated all whiteboard screenshots, pan test is flaky

* changing whiteboard checks

* whiteboard tests updated

* rm screenshots from failing tests

* changed repeat code to be in a function

* change data-shape-type

* changed selector

* skip check for screenshot on ci

* changes on function name

* adding @ci to all test specs

* removed tag on unecessary test
2024-09-12 13:51:26 -03:00
Ramón Souza
c53de1e621
Merge pull request #21171 from Scroody/fix-offline-indicator
Style: Adjust font size and add margin to offline user indicator (chat/message-header)
2024-09-12 13:36:31 -03:00
dependabot[bot]
efd095465f
chore(deps): bump the npm_and_yarn group across 4 directories with 2 updates (#21172)
Bumps the npm_and_yarn group with 2 updates in the /bbb-graphql-client-test directory: [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /bbb-learning-dashboard directory: [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /bigbluebutton-html5 directory: [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /docs directory: [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express).


Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 10:54:48 -04:00
André Möller
a43b9d4ec9 style(chat/message-header): Adjust font size and add margin to offline user indicator 2024-09-12 10:34:57 -03:00
Ramón Souza
b761dac458
Merge pull request #21169 from Scroody/30-fix-trailing-sign-dial
Fix: Conference PIN (phone dial-in) doesn't show the needed pound sign in popup (port to 30)
2024-09-12 10:13:02 -03:00