Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
8 anni fa
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
8 anni fa
hristoterezov
fa971c81b5
fix(eslint): Add no-empty-function rule
8 anni fa
Lyubo Marinov
5bff0ed543
[eslint] no-var
8 anni fa
Lyubo Marinov
ed0d464392
[eslint] quotes
8 anni fa
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
8 anni fa
Lyubo Marinov
324afc0caf
[eslint] space-infix-ops
8 anni fa
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
8 anni fa
hristoterezov
3e44723582
fix(eslint): Add indent rule
8 anni fa
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
8 anni fa
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
8 anni fa
hristoterezov
fceb8606d8
fix(eslint): Add no-extra-parens rule
8 anni fa
paweldomas
af26c86db0
ref(RTC): rename "owner" to "ownerEndpointId"
8 anni fa
paweldomas
ff932f385c
ref(JingleSessionPC): emit track added/removed in RTC
8 anni fa
Boris Grozev
66a16cf85a
docs: Fixes spelling.
8 anni fa
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.
8 anni fa
hristoterezov
5b656903ac
feat(analytics): Add support for permanent properties and new parameters format
8 anni fa
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.
8 anni fa
paweldomas
a79608213f
feat(events): include JitsiTrack as an argument of TRACK_MUTE_CHANGED
8 anni fa
paweldomas
af44ba0aa0
feat(RTCEvents): add REMOTE_TRACK_MUTE/UNMUTE
Add "onmute" and "onmute" handlers to the WebRTC MediaStream and trigger
corresponding RTCEvents.
8 anni fa
Lyubomir Marinov
417e3fbc07
ES6 for JitsiTrackEvents
8 anni fa
damencho
0370183e94
Moves the method definition of the play callback.
8 anni fa
damencho
1f45df2122
Substracts from ttfm the time that user waits while been asked for user permissions.
8 anni fa
damencho
9351e50d74
Adds ttfm for temasys.
8 anni fa
damencho
fe9aebd0c6
Distinguish tracks that had been muted when calculating ttfm.
8 anni fa
damencho
1b1ff464d5
Adds missing require.
8 anni fa
damencho
234f3384e1
Moves loading of analytics in the library.
8 anni fa
damencho
746ed36381
Reports ttfm through analytics.
Stores render event in connection times to use it for tests.
8 anni fa
damencho
2f93ae15e1
Adds analytics events for connection times.
Moves render time calculations in the library.
8 anni fa
tsareg
06cf23ff61
Better JitsiTrack#dispose() method to prevent memory leaks
8 anni fa
hristoterezov
c3f9885df0
Resolve xmpp dependacies in RTC module
8 anni fa
tsareg
6500f9e1f4
Do not subscribe each JitsiTrack to RTCEvents.AUDIO_OUTPUT_DEVICE_CHANGED, instead subscribe once in RTC
9 anni fa
hristoterezov
3aa49c4c2a
Removes fake video tracks from the code
9 anni fa
Lyubomir Marinov
e165952a5d
Simplify, clarify source code
9 anni fa
Lyubomir Marinov
c779d7a958
Add, expand, fix jsdocs, comments
9 anni fa
hristoterezov
abdb7e3c49
Fixes issue with fake streams that are never removed
9 anni fa
Kostiantyn Tsaregradskyi
f57a75b412
Switch local audio and video track when list of available devices changes
9 anni fa
paweldomas
f6d730794e
Deal with the WebRTC streams on per track basis
9 anni fa
paweldomas
0f3cd3b873
Add MediaType
9 anni fa
paweldomas
6b25f9cd20
Add missing semicolons, break some comments at line limit
9 anni fa
hristoterezov
1c9eed44c5
Renames JitsiTrack.stop method and TRACK_STOPPED event. Fixes minor issues with TRACK_REMOVED event.
9 anni fa
damencho
f3cb890a27
Leaves ssrcOwners for local use in JingleSessionPC, uses remote streams from RTC for ssrc mapping to resources. For local video/audio stream ssrc to resource we use JingleSessionPC.localStreamsSSRC.
9 anni fa
hristoterezov
bed4826e46
Added videotype for remote streams
9 anni fa
damencho
e49bd553f8
Fixes start video muted and remote audio.
9 anni fa
hristoterezov
b8682c6a83
Add callstats support
9 anni fa
damencho
882c4402e5
Fixes issue with start muted video, as we are now removing the stream. We now create a dummy video track which we report as muted.
9 anni fa
damencho
c1abbc4d65
Removes muted info from presence to avoid generating too many muted events.
9 anni fa
hristoterezov
f29399d9e4
Fixes IE 10 support
9 anni fa
isymchych
1f69ab8d18
add property isLocal to JitsiTrack
9 anni fa
isymchych
56328fcf58
use JitsiParticipant; add some method implementations
9 anni fa