Commit Graph

892 Commits

Author SHA1 Message Date
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
Ramón Souza
9056b0db1c remove unused code 2024-04-25 17:26:39 -03:00
Ramón Souza
7247407e7d
Merge pull request #20061 from JoVictorNunes/remove-video-streams-collection
Remove old `video-streams` Meteor subscription
2024-04-25 16:38:17 -03:00
Ramón Souza
a1c84229a6 remove userShareWebcam and userUnshareWebcam makecall 2024-04-25 15:33:23 -03:00
João Victor
e623e9d0cd Fix 2024-04-25 14:44:41 -03:00
João Victor
e8e0f5588d Fix imports 2024-04-25 13:16:29 -03:00
João Victor
93423c46e4 Ignore both typescript and eslint errors 2024-04-25 13:01:22 -03:00
Ramón Souza
af2eb1b421 disable camera effects modal in away mode 2024-04-24 17:16:21 -03:00
João Victor
1f8a95a3ff Remove video-streams subscription 2024-04-24 17:09:00 -03:00
Ramón Souza
bd2d56f1a2 mute/unmute audio and camera on away mode 2024-04-22 12:24:59 -03:00
Ramón Souza
be45fd6346
Merge pull request #20030 from ramonlsouza/fix-grid-sort
fix: grid mode webcam order
2024-04-17 16:08:13 -03:00
Ramón Souza
ac7760b41a fix grid mode webcam order 2024-04-17 09:27:10 -03:00
Ramón Souza
98531a82bb Merge remote-tracking branch 'upstream/v3.0.x-release' into issue-19958 2024-04-12 15:51:45 -03:00
Ramón Souza
e52aa27422 fix loop on grid mode when pagination is active 2024-04-11 17:44:44 -03:00
Ramón Souza
60e0578c12 fix share camera on grid mode 2024-04-10 16:04:12 -03:00