Commit Graph

43311 Commits

Author SHA1 Message Date
prlanzarin
c2161b9a14 fix(audio): clear input device IDs if getUserMedia fails
Stored input device IDs are not cleaned up whenever getUserMedia fails
with `NotFoundError` (i.e.: device not found). This causes a couple of
issues whenever skipEchoIfPreviousDevice is enabled:
  - An unnecessary error screen if the user retries audio from scratch
    (it should just go straight to the audio settings modal)
  - A retry loop if no other devices are present in the system

Guarantee that stored input device IDs are cleared up whenever
getUserMedia fails with error name `NotFoundError`. This both the retry
loop and the unnecessary error screen.
2024-10-21 19:22:54 +00:00
prlanzarin
d0ad8afe64 fix(audio): prevent overlapping sessions from gUM-induced timeouts
`getUserMedia` is called by each audio bridge if it hasn't been
triggered during pre-flight screens. This ties gUM to the bridge's
negotiation timers and audio-manager's activation tracking, leading to
two issues:
  - A gUM prompt left unanswered for over 30 seconds can cause an
    incorrect 1010 (negotiation timeout) audio error.
  - If `retryThroughRelay: true`, and a joinAudio timeout occurs due to an
    unanswered gUM prompt, but the user responds while the system retries
    the connection, it can create overlapping audio sessions, resulting in
    mute state inconsistencies when `muteOnStart: true`.

This commit addresses these issues by moving gUM handling to the
audio-manager before any bridge action. This removes gUM from the
negotiation timeout trackers, ensuring that gUM errors are treated as
browser API errors (as expected).

Additionally, audio activation tracking in audio-manager has been updated
to exclude gUM times. Initially, gUM was included to catch unintended
browser-related gUM timeouts (e.g., Chrome bugs), but this skewed the
metric intended for tracking *negotiation times*. With this change,
`secondsToActivateAudio` will now focus solely on negotiation.
2024-10-21 19:19:49 +00:00
João Victor
e4d6720b68 fix: Adjust useSticyScroll hook dependency arrays 2024-10-21 15:15:01 -03:00
Guilherme Pereira Leme
060aa384c3
feat(plugin): Add possible way of updating a component without changing it completely (#21476) 2024-10-21 15:11:10 -03:00
João Victor
7584c63ee6 fix(chat): Add Math.ceil when calculating the page of the message 2024-10-21 15:06:56 -03:00
André Castro
5c85b0a4d4
Fix/mobile breakouts: Clicking one user would select another user (#21351) 2024-10-21 14:51:43 -03:00
Guilherme Pereira Leme
a9e0e872b1
feat(akka): Plugin Js relative entrypoint and refactor of pluginManifests parameter (#21485)
* [js-relative-endpoint-refactors] - Added relative js entrypoint - just the name and extension

* [js-relative-endpoint-refactors] - Changes name and references of  to  and adapt all the rest.

* [js-relative-endpoint-refactors] changes in review
2024-10-21 11:27:31 -04:00
Arthurk12
a9f33ab460 chore: updtae SDK version to 0.0.65
Updates SDK to v0.0.65
2024-10-21 12:11:55 -03:00
prlanzarin
a07e319e90 fix(audio): check error codes before retrying on start failure
The check for whether an error code is deemed "retryable" in
sfu-audio-bridge's joinAudio code is reversed - which may cause
unwarranted audio retries on join failures.
Since only one of the retry points is broken, this is a rare issue.
For end users, the visible behavior is a duplicate error alert
since non-retryable errors are likely to fail again in subsequent
attempts

Fix the check to properly skip audio retries if the error is not
retryable.
2024-10-21 14:43:12 +00:00
Guilherme Pereira Leme
873b590e91
chore(html5): Add stack trace to better investigate error in webcam background (#21444)
* [add-stack-trace] - Add stack trace to better investigate error

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

---------

Co-authored-by: Tiago Jacobs <tiago.jacobs@gmail.com>
2024-10-21 09:44:51 -04:00
dependabot[bot]
72e57392f3
build(deps): bump the npm_and_yarn group across 5 directories with 4 updates (#21426)
Bumps the npm_and_yarn group with 3 updates in the /bbb-graphql-actions directory: [cookie](https://github.com/jshttp/cookie), [express](https://github.com/expressjs/express) and [path-to-regexp](https://github.com/pillarjs/path-to-regexp).
Bumps the npm_and_yarn group with 2 updates in the /bbb-graphql-client-test directory: [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /bbb-learning-dashboard directory: [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 3 updates in the /bigbluebutton-html5 directory: [cookie](https://github.com/jshttp/cookie), [express](https://github.com/expressjs/express) and [postcss](https://github.com/postcss/postcss).
Bumps the npm_and_yarn group with 2 updates in the /docs directory: [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express).


Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/v5.0.0...5.0.1)

Updates `path-to-regexp` from 8.1.0 to 8.2.0
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v8.1.0...v8.2.0)

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

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

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

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

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

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

Updates `postcss` from 8.4.45 to 8.4.47
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.45...8.4.47)

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

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

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: path-to-regexp
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: postcss
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: cookie
  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-10-21 08:57:28 -04:00
Anton Georgiev
064102daea
fix: Adjust string for session ending (#21402) 2024-10-21 08:34:06 -03:00
Gustavo Trott
301e2998ae
fix (gql-middleware): Fix memory leaks (#21479) 2024-10-18 20:04:21 -03:00
Arthurk12
e166edc794 docs: adds bot join param to the docs 2024-10-18 19:46:41 -03:00
Arthurk12
963ddf16dc feat(activity-check): exempt bot users
Exclude bot users from activity checks, as they are not real users
and may not perform actions that count as activity in the meeting.
Exempting them prevents unwanted ejections.
2024-10-18 19:38:22 -03:00
Arthurk12
27bfefd6ee feat(whiteboard): exclude bot from multi-user 2024-10-18 17:17:18 -03:00
Max Franke
740ff53fb5 feat(streaming): bot's default avatar
Set a default avatar to bot. Add the defaults methods to handle
the new feature.
2024-10-18 17:08:39 -03:00
hiroshisuga
36c9819d24
[3.0.0 transcription] Add locales as much as possible (#21376)
* Update en.json

* Update settings.yml

* Create transcriptionLocale.ts

* Update component.tsx

* Update component.tsx

* Revert IN -> ID

Because it will be fixed in the main repository

* let -> const message

British -> GB

* Refactor audio captions messages and locales to fix issues reported by typescript code validation

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-10-18 15:22:04 -03:00
Arthurk12
22c2a371b0 feat(bot): increase bot transparency
This commit removes some actions and interactions that a bot user should
not be part:
  - No actions available when clicking over bot user in the user-list
  - Remove bot from exported user-list
  - Remove bot from available users to be assigned to breakouts
2024-10-18 15:15:49 -03:00
João Victor
6eb11f41b0 fix(chat): A few fixes
- Sort reactions by least recent and then by reaction count.
- Wrong condition for checking if a user is moderator was preventing moderators rom reacting to messages if locking public chat was activated.
- Wrong condition for checking if a user is moderator was preventing moderators from editing messages if locking public chat was activated.
- Display message time for all messages.
2024-10-18 14:37:29 -03:00
João Victor
dce4336ecc fix(chat): Start background animation just after scroll animation 2024-10-18 14:37:29 -03:00
João Victor
9d518ac2b7 fix(chat): Move message highlight request listeners to page component, reducing the number of listeners 2024-10-18 14:37:28 -03:00
João Victor
a60f32c49a fix(chat): Change background color animation duration to 1s 2024-10-18 14:37:28 -03:00
João Victor
fb5341a5eb fix(chat): Typescript error 2024-10-18 14:37:28 -03:00
João Victor
8d37029c85 fix(chat): Smoothen scrolling animation on message reply click 2024-10-18 14:37:28 -03:00
João Victor
719d2e6296 fix(chat): Keep the original background color after scroll animation 2024-10-18 14:37:28 -03:00
João Victor
36a77040c6 fix(chat): Highlight just the message content when clicking the replied message 2024-10-18 14:37:28 -03:00
João Victor
b90eae2fc1 fix(chat): Permission for moderators to delete any message 2024-10-18 14:37:28 -03:00
João Victor
66c1d262ef fix(chat): Update all replies of a message when it is deleted 2024-10-18 14:37:27 -03:00
João Victor
c2de62e065 fix(chat): Keep message list scroll stuck at the bottom when either reply preview or edit warning are open 2024-10-18 14:37:27 -03:00
João Victor
f0636ca40b styles(chat): Disable selection of message reactions 2024-10-18 14:37:22 -03:00
João Victor
a6b634b774 styles(chat): Use the reactions icon for the message reaction button 2024-10-18 14:37:16 -03:00
João Victor
4712f0f171 styles(chat): Statically positioned edit warning element makes the message list shrink 2024-10-18 14:37:10 -03:00
João Victor
79d8f868ff styles(chat): Statically positioned reply intention element makes the message list shrink 2024-10-18 14:36:59 -03:00
Max Franke
17c5f01e52 fix(breakout-room): allow remove user
This commit follows the UI behavior.
Remove constraint for actions in breakouts on akka
This partially reverts 1218b8b610
2024-10-18 13:52:42 -03:00
Pedro Beschorner Marin
9268e4c1a5 Kick users from breakout rooms
Parent room's moderators are able to kick users from breakout rooms.

Included a new userdata `userdata-bbb_parent_room_moderator` so akka-apps can
signal the HTML5 client that the user had a moderator role when the breakout room
was created. This user will have an extra permission inside the breakout room where
he/she will be able to kick other users out.
2024-10-18 13:52:36 -03:00
Pedro Beschorner Marin
235020924f Avatar URL in breakout room join
Since we started using images as user's avatar this was missing. Now akka-apps
will add the user's avatarURL along with the join API URL's params generated
for each user.
2024-10-18 13:52:29 -03:00
Ramón Souza
c8aac3f6e4
Merge pull request #21367 from hiroshisuga/patch-12
[3.0.0b2] Fix Hindi locale
2024-10-18 13:18:46 -03:00
Ramón Souza
9001a7102b
Merge pull request #21465 from germanocaumo/fix-meeting-metadata
fix(client): convert meeting metadata to expected format
2024-10-18 10:37:00 -03:00
Ramón Souza
5dbe083730
Merge pull request #21472 from ramonlsouza/adjust-raise-hand
style: adjust raise hand icon position
2024-10-18 09:13:37 -03:00
Arthurk12
c359a38329 feat(polls): exclude bots from poll responders
Modifies the function that returns the number of responders for a given
poll, excluding bot users. Updates the database schema to ensure that
only non-bot users are counted as potential responders.
2024-10-17 17:44:07 -03:00
Arthurk12
8697de71e8 feat(bot): bypass max participants limit for bot users
Adjust the maximum participants logic to exempt bot users from being
counted towards the participant limit.
2024-10-17 17:43:34 -03:00
Ramón Souza
3f4d5bda76 adjust raise hand icon position 2024-10-17 16:35:51 -03:00
Ramón Souza
225f69a08d
Merge pull request #21370 from germanocaumo/fit-to-width-zoom-fixes
fix(whiteboard): fit to width and zoom misc fixes
2024-10-17 15:37:32 -03:00
Ramón Souza
e945a86f47
Merge pull request #21430 from JoVictorNunes/new-chat-ui-30
styles(chat): a new chat UI
2024-10-17 15:08:45 -03:00
João Victor
0f20eb936b fix(chat): Do not highlight messages that does not have toolbar 2024-10-17 14:28:20 -03:00
João Victor
4725e64229 fix(chat): Reset both editing and replying states after sending an message 2024-10-17 13:39:51 -03:00
João Victor
3f52a58335 fix(chat): Add ability to cancel an editing by clicking on the warning message 2024-10-17 13:39:51 -03:00
João Victor
ad5b19e03e style(chat): Replied message and reply preview with white background 2024-10-17 13:39:51 -03:00
João Victor
fdb0805805 fix(chat): Canceling a reply intention not working 2024-10-17 13:39:50 -03:00