paweldomas
61dca1d7b9
feat(XmppConnection): sendIQ2
A new method which not only has Promise interface,
but also allows to queue IQs regardless of the current
connection's status.
Ping and send ICE failed notification requests are changed
to use this method which makes it more reliable on XMPP
Websocket connections on mobile(which in contrary to BOSH
dies much faster there).
5 lat temu
paweldomas
8a41d02407
feat(XmppConnection): use full jitter backoff patter for resume retry
5 lat temu
paweldomas
caedfd27b3
feat(Listenable): make addListener remove unsubscribe method
It makes it easier to remove listeners.
5 lat temu
Andrei Gavrilescu
e4b523d0fa
Noisy microphone detection (#1013)
* feat: implement vad noise detection
* start detection services on initial track add
* additional refactor / calibrate noise detection
* stop detection services on track remove
* address code review
* address code review p2
6 lat temu
paweldomas
c0af82a215
squash: remove pending tasks from the queue before scheduling close
6 lat temu
paweldomas
bdd303109f
squash: rename workFunction to task
6 lat temu
paweldomas
b670fb674c
squash: callback called with new Error() when stopped
6 lat temu
paweldomas
fc1633b88f
squash: rename private vars in AsyncQueue
6 lat temu
paweldomas
036662c653
fix(JingleSessionPC): prevent from queueing tasks after close
Also do not execute any peerconnection callbacks like
'oniceconnectionstatechange', 'onicecandidate' etc. after close.
6 lat temu
paweldomas
5c674f923e
fix(RTC): protect from counter overflow
8 lat temu
bgrozev
3aa2356f7a
Video suspend abtest (#634)
* revert: Reverts be665cbff7 .
* ref: Renames "peerjid".
* ref: Refactors the initialization of a peer connection.
* feat: Re-implements the A/B test for the "suspend video" feature.
* squash: Deep copy.
* ref: Renames forceSuspendVideo to abtestSuspendVideo.
8 lat temu
Saúl Ibarra Corretgé
2766d9d433
feat(utils): style consistency
8 lat temu
Lyubo Marinov
66b62080e8
[eslint] max-params
9 lat temu
Lyubo Marinov
8fbc815836
[eslint] no-param-reassign
9 lat temu
Lyubo Marinov
068f290835
[eslint] lines-around-comment
9 lat temu
Lyubo Marinov
840c5b3cdf
[eslint] computed-property-spacing, key-spacing, keyword-spacing, object-curly-spacing
9 lat temu
Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
9 lat temu
Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
9 lat temu
Lyubo Marinov
1068233eac
[eslint] prefer-rest-params
9 lat temu
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
9 lat temu
Lyubo Marinov
5bff0ed543
[eslint] no-var
9 lat temu
Lyubo Marinov
4293971466
[eslint] operator-linebreak
9 lat temu
Lyubo Marinov
ed0d464392
[eslint] quotes
9 lat temu
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
9 lat temu
Lyubo Marinov
14147059b3
[eslint] spaced-comment
9 lat temu
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
9 lat temu
hristoterezov
3e44723582
fix(eslint): Add indent rule
9 lat temu
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
9 lat temu
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
9 lat temu
Lyubo Marinov
596767d57e
[eslint] object-shorthand
9 lat temu
hristoterezov
fceb8606d8
fix(eslint): Add no-extra-parens rule
9 lat temu
hristoterezov
3b39be8a59
feat(Listenable): Implements Listenable class
9 lat temu
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 lat temu
damencho
68b78bb730
Adds load and error callback to the script util.
9 lat temu
damencho
be22ab769b
Loads analytics js dynamically by searching for it next to the library or by using a custom script url option passed to the library on initialisation.
9 lat temu
hristoterezov
342e8ac5c0
Simplifies EventEmitterForwarder.forward code
9 lat temu
paweldomas
fc995e5aa0
Add utility method for constructing JWT login service URL
9 lat temu
hristoterezov
faeda96206
Implements reload method in JitsiConference
9 lat temu
hristoterezov
85fd13a082
Fixes issues after review
9 lat temu
Lyubomir Marinov
2c8c5a1028
Remove duplications of error messages
9 lat temu
Lyubomir Marinov
704f1f8063
Fix a typo in function names
9 lat temu
hristoterezov
dd3e1bc4a9
Calls the global error handler on every logger.error
9 lat temu
Lyubomir Marinov
ea8fbf8697
Introduces a utility function to load optional scripts such as callstats.io.
10 lat temu
hristoterezov
b8682c6a83
Add callstats support
10 lat temu
George Politis
2c317e3b17
Removes the local SSRC replacement hack and fixes video muting/unmuting when simulcast is enabled.
Conflicts:
modules/xmpp/JingleSessionPC.js
modules/xmpp/LocalSSRCReplacement.js
modules/xmpp/TraceablePeerConnection.js
10 lat temu
Boris Grozev
74e7c387db
Exposes functions in RandomUtils.
10 lat temu
Boris Grozev
f507ba00cf
Simplifies code.
10 lat temu
paweldomas
d16e14128e
Converts constants in RandomUtil to hex.
10 lat temu
paweldomas
a96fd484f8
Creates RandomUtil class for generating random strings.
10 lat temu