damencho
b96c4d1c12
Skips setting local track resolution in case of FF.
9 lat temu
paweldomas
3d58f8025f
fix(JitsiLocalTrack): report no data only when 'muted' is true
When the Temasys plugin is used the 'muted' property is in the track,
but it's value is undefined.
9 lat temu
hristoterezov
5b656903ac
feat(analytics): Add support for permanent properties and new parameters format
9 lat temu
paweldomas
1f6e2ac9fe
fix(JitsiLocalTrack): no data event fired before ICE connected
We can not assume that the audio source is not sending any data based
on the stat until the media connection has not been established.
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
paweldomas
a79608213f
feat(events): include JitsiTrack as an argument of TRACK_MUTE_CHANGED
9 lat temu
hristoterezov
83c7006922
fix(camera_issue_detection): issues after review
9 lat temu
hristoterezov
8eb00349d9
feat(JitsiLocalTrack): Log camera/mic problems
9 lat temu
hristoterezov
2457cca193
fix(camera_issue_detection): Adds timeout for reporting camera issues
9 lat temu
hristoterezov
c9ad8b9d21
Reverts the camera issue detection
9 lat temu
hristoterezov
f25833413a
fix(JitsiLocalTrack): issues after review
9 lat temu
hristoterezov
0d037bad65
feat(JitsiLocalTrack): Implement camera issues detection
9 lat temu
hristoterezov
008f8add88
fix(start_muted): Fixes start muted feature
9 lat temu
Lyubomir Marinov
0e7c83b46a
ES6 for JitsiTrackError
9 lat temu
Lyubomir Marinov
6ad10dc442
ES6 for JitsiTrackErrors
9 lat temu
Lyubomir Marinov
417e3fbc07
ES6 for JitsiTrackEvents
9 lat temu
hristoterezov
5c903dfcc3
Fixes onended handler issues
9 lat temu
hristoterezov
06d07a3d6a
Fixes issues after review
9 lat temu
hristoterezov
bcb3253df2
Implement audio problem detection
9 lat temu
tsareg
f9ed623f23
Wrap calling MediaStreamTrack#getSettings() with try-catch block as it throws "Not implemented" Error in react-native-webrtc
9 lat temu
tsareg
d00993293a
Added TRACK_NO_STREAM_FOUND JitsiTrackError type
9 lat temu
tsareg
3c0b730a1a
Replaced string with constant
9 lat temu
tsareg
bc915c16fe
Pass 'facingMode' to gUM when 'unmuting' video track
9 lat temu
tsareg
5956915d82
_setMute refactoring
9 lat temu
damencho
ff2642722f
Checks for missing room on muting locally.
9 lat temu
tsareg
32b9f91e5f
Introduced JitsiLocalTrack#getCameraFacingMode() method and CameraFacingMode enum
9 lat temu
tsareg
06cf23ff61
Better JitsiTrack#dispose() method to prevent memory leaks
9 lat temu
hristoterezov
c3f9885df0
Resolve xmpp dependacies in RTC module
9 lat temu
tsareg
403fcb0e25
Handle cases when new media devices are added/removed more precisely and more predictable
9 lat temu
hristoterezov
40188b9ce5
Adds all SRD/SLD to modifySourcesQueue and removes modifySourcesQueue.pause calls
9 lat temu
tsareg
b816184f5b
Subcribe each instance of JitsiLocalTrack to audio output change event as there might be local tracks not inside a conference
9 lat temu
hristoterezov
dd3e1bc4a9
Calls the global error handler on every logger.error
9 lat temu
tsareg
6500f9e1f4
Do not subscribe each JitsiTrack to RTCEvents.AUDIO_OUTPUT_DEVICE_CHANGED, instead subscribe once in RTC
9 lat temu
Lyubomir Marinov
c779d7a958
Add, expand, fix jsdocs, comments
9 lat temu
Kostiantyn Tsaregradskyi
f57a75b412
Switch local audio and video track when list of available devices changes
9 lat temu
paweldomas
f6d730794e
Deal with the WebRTC streams on per track basis
9 lat temu
paweldomas
19df65f3e5
Rename "stream" to "track" in RTC context plus fixes
Rename variables with "stream" in name which refer to JitsiTrack.
Rename TRACK ADDED/REMOVED events.
Try to reduce direct access to remoteTracks object.
Log warning message when track is overwritten.
9 lat temu
paweldomas
02d631075d
Name the var what it really is and detect potential issue
We were assigning the var, before the type was compared which
could result in accepting "audio" stream for "video" JitsiLocalTrack.
9 lat temu
paweldomas
2534e623fc
Add VideoType
9 lat temu
paweldomas
0f3cd3b873
Add MediaType
9 lat temu
paweldomas
6b25f9cd20
Add missing semicolons, break some comments at line limit
9 lat temu
damencho
e8739706e1
Renames some variables.
10 lat temu
damencho
b40b0c19d1
Rejects unmute promise if error is cought.
10 lat temu
damencho
a1bef9da5c
Moves common logic in util function.
10 lat temu
damencho
e4d455a242
Returns Promise from mute/unmute and ignores requests while mute/unmuting is in progress. Moves mute/unmute methods to JitsiLocalTrack as said in API docs.
10 lat temu
hristoterezov
1c9eed44c5
Renames JitsiTrack.stop method and TRACK_STOPPED event. Fixes minor issues with TRACK_REMOVED event.
10 lat temu
hristoterezov
4220f6cde8
Fixes issue with adding muted video stream to peerconnection.
10 lat temu
damencho
16fb903b09
Fixes reporting local resolution when simulcast is enabled. Removes storing localSSRCs in JingleSessionPC and use the available ssrcs from the local tracks.
10 lat temu
paweldomas
3819387f78
Fixes crash on "this.rtc" being "undefined" when JitsiLocalTrack.attach is called before it's added to the conference.
10 lat temu
isymchych
00733623f1
fail if user is trying to add second video track to the conference
10 lat temu