Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
8 gadus atpakaļ
Lyubo Marinov
0da7f6b98f
[eslint] no-negated-condition
8 gadus atpakaļ
Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
8 gadus atpakaļ
Lyubo Marinov
1068233eac
[eslint] prefer-rest-params
8 gadus atpakaļ
hristoterezov
b13348726b
fix(eslint): Add no-implicit-coercion rule
8 gadus atpakaļ
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
8 gadus atpakaļ
Lyubo Marinov
5bff0ed543
[eslint] no-var
8 gadus atpakaļ
hristoterezov
e4352d2188
fix(eslint): Add no-else-return rule
8 gadus atpakaļ
hristoterezov
245c49bc31
fix(eslint): Add dot-notation rule
8 gadus atpakaļ
Lyubo Marinov
b8a2a7baaf
[eslint] no-unneeded-ternary
8 gadus atpakaļ
Lyubo Marinov
4293971466
[eslint] operator-linebreak
8 gadus atpakaļ
Lyubo Marinov
ed0d464392
[eslint] quotes
8 gadus atpakaļ
Lyubo Marinov
b5b0e95b4e
[eslint] sort-vars
8 gadus atpakaļ
Lyubo Marinov
f8ab8015a2
[eslint] space-before-blocks
8 gadus atpakaļ
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
8 gadus atpakaļ
Lyubo Marinov
55ed404dd4
[eslint] space-in-parens
8 gadus atpakaļ
Lyubo Marinov
324afc0caf
[eslint] space-infix-ops
8 gadus atpakaļ
Lyubo Marinov
14147059b3
[eslint] spaced-comment
8 gadus atpakaļ
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
8 gadus atpakaļ
hristoterezov
3e44723582
fix(eslint): Add indent rule
8 gadus atpakaļ
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
8 gadus atpakaļ
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
8 gadus atpakaļ
Lyubo Marinov
596767d57e
[eslint] object-shorthand
8 gadus atpakaļ
Lyubo Marinov
4d2a24ba87
[eslint] prefer-spread
8 gadus atpakaļ
hristoterezov
fceb8606d8
fix(eslint): Add no-extra-parens rule
8 gadus atpakaļ
paweldomas
043de48f60
style(RTCUtils): use import
8 gadus atpakaļ
paweldomas
f0d128484d
ref(MediaType): convert to ES6 syntax
9 gadus atpakaļ
Saúl Ibarra Corretgé
fbcf2184d7
Revert "Make sure the minimum resolution is no less than 320 x 180"
This reverts commit 886bc1519d .
Turns out Chrome decides to not choose the maximum possible resolution when
given a range. Oh well!
8 gadus atpakaļ
Saúl Ibarra Corretgé
886bc1519d
Make sure the minimum resolution is no less than 320 x 180
Otherwise Chrome has been seen using a simulcast layer with a resolution of
240 x 135, which can break implementations not supporting odd resolutions, such
as WebRTC on Android.
Related Chrome issues:
* https://bugs.chromium.org/p/webrtc/issues/detail?id=6651
* https://bugs.chromium.org/p/webrtc/issues/detail?id=7206
8 gadus atpakaļ
Ilya Daynatovich
5be6d43539
Unsupported browser (feature)
8 gadus atpakaļ
Ilya Daynatovich
c6518b5724
Indicate in a machine-readable way that WebRTC is not supported either natively or via a known plugin such as Temasys
8 gadus atpakaļ
hristoterezov
c8291bcf2e
ref(Listenable): some classes to use Listenable
9 gadus atpakaļ
hristoterezov
16c4a1fbc5
feat(electron): basic Electron SS support
9 gadus atpakaļ
Boris Grozev
cce6262875
feat: Allows to disable the suspend video
PC constrain via configuration.
9 gadus atpakaļ
Boris Grozev
b3b7e5646c
feat: Enables googSuspendBelowMinBitrate.
9 gadus atpakaļ
Boris Grozev
745bce5ac2
cleanup: Removes legacy PeerConnection constraints.
9 gadus atpakaļ
Boris Grozev
e2845d0907
cleanup: Removes a deprecated constraint.
9 gadus atpakaļ
damencho
279f1344e7
Fixes eslint error about global variable assignment.
9 gadus atpakaļ
Lyubomir Marinov
66b601ec04
Disable Temasys on React Native
Lib-jitsi-meet uses Temasys on Internet Explorer and Safari so it does
not make sense to require its adapter.screenshare.js on React Native,
for example, where it fails anyway.
9 gadus atpakaļ
Domenic Murtari
7d0325fe9d
Set FPS constraints only when video has been requested
9 gadus atpakaļ
Lyubomir Marinov
90ee7e8a54
ESLint
Our JSHint configuration is not extensive and we have excluded multiple
files from linting. Additionally, we have seen JSHint to be unable to
parse newer ECMAScript features such as the object spread operator
(proposal).
On the other hand, we have seen ESLint to beautifully work on React and
React Native source code in addition to ES2015 and later. Introduce
ESLint alongside JSHint as an intermediate step to eventually switching
from JSHint to ESLint.
As our source code does not fully follow even the JSHint rules we have,
it is very difficult to introduce ESLint with many rules. At the
beginning, introduce it with as little rules as possible. Morever,
ESLint is able to automatically fix certain rule offenders so once we
have ESLint merged we can incrementally add new rules while keeping our
commits' modification on as little subjects as possible.
9 gadus atpakaļ
damencho
94427ae0d8
Fixes desktop sharing.
Fixes resolving this when passing function after enabling es6.
9 gadus atpakaļ
Lyubomir Marinov
0e7c83b46a
ES6 for JitsiTrackError
9 gadus atpakaļ
Lyubomir Marinov
6ad10dc442
ES6 for JitsiTrackErrors
9 gadus atpakaļ
damencho
b9fe4a83dd
Skips setting output to element when there is no user selection.
9 gadus atpakaļ
damencho
e8b9199c53
Fixes setAvailableDevices on error, passing no stream.
9 gadus atpakaļ
damencho
587826f19f
Fixes error type when we succeed with one of the media.
Finds correct error when getUserMedia succeed with only one of the audio or video, and the other fails.
9 gadus atpakaļ
damencho
991e4b6c7a
Fixes the availableDevices.
Fixes the availableDevices, to reflect the devices for which we succeeded or failed to obtain stream.
9 gadus atpakaļ
hristoterezov
1aa31587c6
Implements desktop sharing extension external installation
9 gadus atpakaļ
paweldomas
a34e4255e4
Make 'isDeviceListAvailable' a Promise
On Safari/IE we have to wait until the WebRTC stack is
initialized in case the plugin is being installed for
the first time.
9 gadus atpakaļ