Commit Graph

16 Commits

Author SHA1 Message Date
Ramón Souza
d68b2252e0 disable require default props eslint rule 2024-06-11 10:03:42 -03:00
Tainan Felipe
f05cfd0cf8
Refactor: migrate waitingUserPanel to TS and graphql (#18677)
* Refactor: migrate waitingUserPanel to TS and graphql

* Small code improvements

* Fix: allow everyone aren't working

* Fix: add a condition for edge cases

* Make the remember choice works well

* Fix TS and eslint errors

* Change eslint

* Change eslint
2023-10-06 14:12:42 -03:00
imdt
b37347f3ec aditional changes 2023-09-13 11:35:56 -03:00
imdt
376d1fc79d Fix: All lint errors 2023-09-13 11:31:20 -03:00
André Castro
81311db9a3
Fix: User list, Participants, Pist item, User actions, Skeleton, User title, Option drop down, Use shortcuts. (#18676)
* Fix: Ts fixes in user list participants, list item and user actions

* Aditonal fixes
2023-09-06 11:24:09 -03:00
André Castro
8ea34e7e0c
Fix: Chat List Component TypeScript Errors, Linting, and ESLint Rules Update (#18635)
* rules addition and ts errors fixed on chat list component

* requested change

* code duplicate removed

* Update component.tsx
2023-09-06 10:37:34 -03:00
Tiago Jacobs
5cf2293c38
refactor (typescript): fix typescript build errors (#18454) 2023-08-14 17:52:35 -03:00
Mario Jr
298c4afd4c Update .eslint rule to affect only a restricted scope 2021-04-16 15:24:14 -03:00
Mario Jr
e8d59ed14a fix: mic selection (firefox/all browsers) and muted alert when mic is changed
This commit contains three fixes: one already reported and two detected
during the investigation of the solution.
This started as a fix for firefox (#12023), but i also fixed the muted
alert/banner when device changes: the banner wasn't detecting device changes,
unless audio was deactived/actived.

There's another fix for the microphone stream: we now keep sender's track
disabled if it was already disabled for the sender's track of the previous
selected device.

Also did small refactor for eslint checking.

Some technical information: in sip bridge (bridge/sip.js), setInputStream and
liveChangeInputDevice function were both fully turned into promises, which
guarantees we have everything ready when it resolves to the respective values.
This helps AudioManager (audio-manager/index.js) to sequentially sets and
tracks the state of the current microphone stream (inputStream), when calling
liveChangeInputDevice function: we first set the current stream to null,
creats a new one and then set it to the newly created value - this is needed
because MutedAlert (muted-alert/component.jsx) can then gracefully
allocate/deallocate the cloned stream when it is set to a non-null/null value
(the cloned stream is used for speech detection with hark).
In MutedAlert we also make sure to enable the cloned stream's audio
tracks, just in case the user change the device when muted (audio track is
disabled in this case), which also leaves the cloned stream muted (we then
enable the track to allow speech detection).

Closes #12023
2021-04-16 10:45:40 -03:00
Vitor Mateus De Almeida
3b3612d211 update eslint to ecma 2020 2021-04-09 15:02:18 -03:00
Mario Jr
cddca95ad1 Fixes and improvements on pr #10129 - dynamic change audio device
Allow listenonly users to change output devices
Fixed dynamic audio device change for firefox
Fixed shortcuts for audio join/leave
Show (with a bold font) the current selected device
[performance] Prevent calling mediaDevices.enumerateDevices every time we render
the selector. This adds a delay (~200ms, on my chrome setup) to render this component
[performance] Do not call enumerateDevices to search for new devices, instead we listen on mediaDevices.deviceChange event
Small refactoring and fixed a few errors that were being throw in browser's console
Fixed device selection when this is done in audio-settings modal
Fallback to default device when current device is removed
Truncate device name length
Renamed "Input","Output" labels to "Microphone","Speakers", respectively
Update eslint rule for accessKey
2021-03-29 18:55:17 -03:00
Maxim Khlobystov
b1cd809948 Update for the WebdriverIO tests 2019-06-21 16:11:05 -04:00
Oswaldo Acauan
1bc9943b72 Add missing packages and fix formating 2017-06-05 13:26:47 +00:00
Oswaldo Acauan
d279e6d4f4 Improve ESLint rules 2017-06-02 20:42:13 +00:00
Oswaldo Acauan
1573d641a6 Change lint import configs to our pattern 2017-06-02 19:16:30 +00:00
Oswaldo Acauan
b10d3748a8 Replace JSCS in favor of ESLint 2017-06-02 18:55:23 +00:00