damencho
b96c4d1c12
Skips setting local track resolution in case of FF.
před 9 roky
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.
před 9 roky
hristoterezov
5b656903ac
feat(analytics): Add support for permanent properties and new parameters format
před 9 roky
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.
před 9 roky
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.
před 9 roky
paweldomas
a79608213f
feat(events): include JitsiTrack as an argument of TRACK_MUTE_CHANGED
před 9 roky
hristoterezov
83c7006922
fix(camera_issue_detection): issues after review
před 9 roky
hristoterezov
8eb00349d9
feat(JitsiLocalTrack): Log camera/mic problems
před 9 roky
hristoterezov
2457cca193
fix(camera_issue_detection): Adds timeout for reporting camera issues
před 9 roky
hristoterezov
c9ad8b9d21
Reverts the camera issue detection
před 9 roky
hristoterezov
f25833413a
fix(JitsiLocalTrack): issues after review
před 9 roky
hristoterezov
0d037bad65
feat(JitsiLocalTrack): Implement camera issues detection
před 9 roky
hristoterezov
008f8add88
fix(start_muted): Fixes start muted feature
před 9 roky
Lyubomir Marinov
0e7c83b46a
ES6 for JitsiTrackError
před 9 roky
Lyubomir Marinov
6ad10dc442
ES6 for JitsiTrackErrors
před 9 roky
Lyubomir Marinov
417e3fbc07
ES6 for JitsiTrackEvents
před 9 roky
hristoterezov
5c903dfcc3
Fixes onended handler issues
před 9 roky
hristoterezov
06d07a3d6a
Fixes issues after review
před 9 roky
hristoterezov
bcb3253df2
Implement audio problem detection
před 9 roky
tsareg
f9ed623f23
Wrap calling MediaStreamTrack#getSettings() with try-catch block as it throws "Not implemented" Error in react-native-webrtc
před 9 roky
tsareg
d00993293a
Added TRACK_NO_STREAM_FOUND JitsiTrackError type
před 9 roky
tsareg
3c0b730a1a
Replaced string with constant
před 9 roky
tsareg
bc915c16fe
Pass 'facingMode' to gUM when 'unmuting' video track
před 9 roky
tsareg
5956915d82
_setMute refactoring
před 9 roky
damencho
ff2642722f
Checks for missing room on muting locally.
před 9 roky
tsareg
32b9f91e5f
Introduced JitsiLocalTrack#getCameraFacingMode() method and CameraFacingMode enum
před 9 roky
tsareg
06cf23ff61
Better JitsiTrack#dispose() method to prevent memory leaks
před 9 roky
hristoterezov
c3f9885df0
Resolve xmpp dependacies in RTC module
před 9 roky
tsareg
403fcb0e25
Handle cases when new media devices are added/removed more precisely and more predictable
před 9 roky
hristoterezov
40188b9ce5
Adds all SRD/SLD to modifySourcesQueue and removes modifySourcesQueue.pause calls
před 9 roky
tsareg
b816184f5b
Subcribe each instance of JitsiLocalTrack to audio output change event as there might be local tracks not inside a conference
před 9 roky
hristoterezov
dd3e1bc4a9
Calls the global error handler on every logger.error
před 9 roky
tsareg
6500f9e1f4
Do not subscribe each JitsiTrack to RTCEvents.AUDIO_OUTPUT_DEVICE_CHANGED, instead subscribe once in RTC
před 9 roky
Lyubomir Marinov
c779d7a958
Add, expand, fix jsdocs, comments
před 9 roky
Kostiantyn Tsaregradskyi
f57a75b412
Switch local audio and video track when list of available devices changes
před 9 roky
paweldomas
f6d730794e
Deal with the WebRTC streams on per track basis
před 9 roky
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.
před 9 roky
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.
před 9 roky
paweldomas
2534e623fc
Add VideoType
před 9 roky
paweldomas
0f3cd3b873
Add MediaType
před 9 roky
paweldomas
6b25f9cd20
Add missing semicolons, break some comments at line limit
před 9 roky
damencho
e8739706e1
Renames some variables.
před 10 roky
damencho
b40b0c19d1
Rejects unmute promise if error is cought.
před 10 roky
damencho
a1bef9da5c
Moves common logic in util function.
před 10 roky
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.
před 10 roky
hristoterezov
1c9eed44c5
Renames JitsiTrack.stop method and TRACK_STOPPED event. Fixes minor issues with TRACK_REMOVED event.
před 10 roky
hristoterezov
4220f6cde8
Fixes issue with adding muted video stream to peerconnection.
před 10 roky
damencho
16fb903b09
Fixes reporting local resolution when simulcast is enabled. Removes storing localSSRCs in JingleSessionPC and use the available ssrcs from the local tracks.
před 10 roky
paweldomas
3819387f78
Fixes crash on "this.rtc" being "undefined" when JitsiLocalTrack.attach is called before it's added to the conference.
před 10 roky
isymchych
00733623f1
fail if user is trying to add second video track to the conference
před 10 roky