Commit Graph

906 Commits

Author SHA1 Message Date
João Victor Nunes
e1f3002ae1
fix(webcam): stopping sharing a specific webcam will actually stop all (#20400) 2024-06-07 09:52:16 -03:00
João Victor Nunes
06500be757
refactor(storage): replace Tracker.Dependency with observer hook (#20322)
* refactor(storage): replace Tracker.Dependency with observer hook

* fix(storage): set initial value

* refactor(storage): stop using Meteor's Session singleton
2024-06-06 10:50:03 -03:00
João Victor Nunes
ab0e1da86c
improvement(webcam): refine webcam controls (#20374) 2024-06-04 14:10:16 -03:00
Tainan Felipe
3bc40df230
Add: useDeduplicatedSubscription hook (#20376)
* Add: useDeduplicatedSubscription hook

* Fix: TS error

* Add: components using useDeduplicatedSubscription

* Change: Move to useDeduplicatedSubscription

* Change: unsubscribe logic to own useEffect

* Change: remove file import over package

* Fix: TS errors

* Fix: private chat not loading

* Change: revert changes on queries

* Fix: eslint error

* Remove: html-webpack-plugin package

* Fix: external video

* Add: comment about the stringToHash function

* Fix: video player showing tools over presentation
2024-06-04 10:40:54 -03:00
Gustavo Trott
fd3071c28a
Refactor (gql-middleware): Introduces clientSessionUUID and validations (error handling) (#20353) 2024-05-29 17:43:17 -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
Ramón Souza
1467da5ee5
Merge pull request #20311 from JoVictorNunes/issue-20265
fix: drop audio and video when joining breakout room
2024-05-28 11:11:53 -03:00
João Victor
0a00aa5e49 Fix merge errors 2024-05-24 17:42:32 -03:00
João Victor Nunes
e58c5bac7d
Merge branch 'v3.0.x-release' into remove-with-trackers-0516 2024-05-24 17:26:49 -03:00
Gustavo Trott
684fec7b13
Merge pull request #20191 from JoVictorNunes/video-streams-improvements-05.06
fix(webcam): fixes, improvements et al.
2024-05-24 17:13:15 -03:00
João Victor
7d07576554 fix: drop audio and video when joining breakout room 2024-05-21 12:31:17 -03:00
João Victor
fd253d6c2d refactor(settings): remove both Meteor's Tracker.Dependency and all uses in old format 2024-05-17 17:33:52 -03:00
João Victor
b309e93d91 removal: remove withTracker from VideoProviderContainerGraphql 2024-05-17 11:17:27 -03:00
João Victor
e5fbc5469d fix(webcam): conditional hook call 2024-05-08 09:28:29 -03:00
João Victor
728c476504 fix(webcam): reduced code 2024-05-07 18:13:18 -03:00
João Victor
41d70b352a fix(webcam): add suport for multiple tabs 2024-05-07 18:05:36 -03:00
João Victor
429c9ba63e fix(webcam): remove unused code 2024-05-07 10:31:07 -03:00
João Victor
e459dcdaa5 fix(webcam): slight code improvements 2024-05-06 17:05:37 -03:00
João Victor
9fcb83b352 fix(webcam): turn shouldRenderPaginationToggle function into a hook 2024-05-06 11:24:45 -03:00
João Victor
8acdd95c7d fix(webcam): don't return on video-streams subscription error
- Don't return on video-streams subscription error. Let the likely data cleanup happen.
2024-05-06 10:55:04 -03:00
João Victor
096f14edcb fix(webcam): stop using mapped fields
- We were using both sortName and pin fields as mappings for the nameSortable and pinned fields, respectively.
2024-05-06 10:45:59 -03:00
João Victor
fc8e59bfba fix(webcam): lint errors 2024-05-06 09:19:51 -03:00
João Victor
0003252207 fix(webcam): remove useless data consumption 2024-05-06 09:13:24 -03:00
João Victor
49f236ee3c Merge branch 'v3.0.x-release' into grid-user-limit and fix conflicts 2024-05-06 09:01:39 -03:00
João Victor Nunes
83f6f8d0f9
fix: order grid items by both name and userId
Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2024-05-06 08:23:55 -03:00
Ramón Souza
f742a6d25d
Merge pull request #20134 from JoVictorNunes/video-streams-typings-fix
fix: tweak video-streams typings
2024-05-03 17:19:52 -03:00
João Victor
9e0ea8a33f fix(webcam): rename query variable 2024-05-03 16:35:56 -03:00
João Victor Nunes
4f9e75ae0c
fix(webcam): remove loggedOut filter
Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2024-05-03 16:33:13 -03:00
João Victor
6aa1e0f336 Remove isGridItem field 2024-05-03 15:34:10 -03:00
João Victor
65ac5b6b9b fix(webcam): avoid sending a negative value for grid user limit 2024-05-03 14:33:04 -03:00
João Victor
ca5d74e9d4 fix(webcam): type user as partial 2024-05-03 10:29:25 -03:00
João Victor
2dddd161bf fix: limit grid users at the data access level 2024-05-03 09:58:27 -03:00
prlanzarin
eccb06369b fix(bbb-html5): crash on video-provider unmount
There's a race condition that may cause a client crash whenever a
video-provider's unmount procedure is run, but its signalling websocket
is undefined. The WS's callback handlers are re-assigned without
checking for the socket's availability, causing an unhandled TypeError.

The WS may be undefined in a couple of scenarios, e.g.: unmouting before
the socket was successfully set up, unmounting while a reconnect is in
place etc.

Check whether the socket exists before accessing it in video-provider's
componentWillUnmount routine.
2024-05-02 22:55:25 +00:00
João Victor
32bb2dfe2f fix: make hook to store its own state to avoid useless re-renders 2024-05-02 17:18:38 -03:00
João Victor
5a80f30711 fix: tweak video-streams typings (Part 4) 2024-05-02 11:51:14 -03:00
João Victor Nunes
98d579401b
Merge branch 'v3.0.x-release' into video-streams-typings-fix 2024-05-02 11:41:09 -03:00
Ramón Souza
f589cb8828
Merge pull request #20076 from ramonlsouza/away-mode
feat: Improved away mode
2024-05-02 11:34:32 -03:00
João Victor
73eee42c66 fix: TS errors 2024-05-02 11:32:08 -03:00
João Victor Nunes
c61b6bb7e5
Merge branch 'v3.0.x-release' into video-streams-typings-fix 2024-05-02 11:26:08 -03:00
João Victor
9495e60d6f fix: ensure user's webcams are properly terminated 2024-05-02 11:22:24 -03:00
Ramón Souza
ae10830a1a move setTrackEnabled to new service file 2024-05-02 09:24:03 -03:00
João Victor
ee9f98a1ad fix(webcam): fetch user data of webcam users only
- Do not fetch user data of users who are not in webcam.
- Except when grid layout is active. In this situation we need to know about all users.
2024-05-02 09:17:58 -03:00
Ramón Souza
82b1101df8 Merge remote-tracking branch 'upstream/v3.0.x-release' into away-mode 2024-05-02 08:45:10 -03:00
João Victor
59d84f4722 fix: wrong style file import 2024-05-01 17:05:17 -03:00
João Victor
d72ce1a24c fix: tweak video-streams typings (Part 3)
- Fix almost the entire video-provider component typyings. Leaving some errors because the component depends on a lot of code which is not in typescript yet. Any attempt to fix them may cause problems.
2024-05-01 16:49:21 -03:00
João Victor
6d70904ba9 fix: tweak video-streams typings (Part 2)
- Tweak low-level components.
2024-05-01 16:48:50 -03:00
João Victor
7297778746 fix: tweak video-streams typings (Part 1)
- Tweak high-level components.
2024-05-01 16:48:12 -03:00
Tainan Felipe
5070d26c90 Merge remote-tracking branch 'upstream/v3.0.x-release' into code-removal 2024-05-01 09:58:01 -03:00
Tainan Felipe
210eb0911c Fix: add a adapters manager to lock loading while data sync 2024-05-01 08:38:12 -03:00
Tainan Felipe
7d7acb8a80 Remove: Breakout room unused code 2024-04-30 16:14:22 -03:00