damencho
94427ae0d8
Fixes desktop sharing.
Fixes resolving this when passing function after enabling es6.
il y a 9 ans
Lyubomir Marinov
0e7c83b46a
ES6 for JitsiTrackError
il y a 9 ans
Lyubomir Marinov
6ad10dc442
ES6 for JitsiTrackErrors
il y a 9 ans
damencho
b9fe4a83dd
Skips setting output to element when there is no user selection.
il y a 9 ans
damencho
e8b9199c53
Fixes setAvailableDevices on error, passing no stream.
il y a 9 ans
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.
il y a 9 ans
damencho
991e4b6c7a
Fixes the availableDevices.
Fixes the availableDevices, to reflect the devices for which we succeeded or failed to obtain stream.
il y a 9 ans
hristoterezov
1aa31587c6
Implements desktop sharing extension external installation
il y a 9 ans
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.
il y a 9 ans
tsareg
32b9f91e5f
Introduced JitsiLocalTrack#getCameraFacingMode() method and CameraFacingMode enum
il y a 9 ans
tsareg
06cf23ff61
Better JitsiTrack#dispose() method to prevent memory leaks
il y a 9 ans
damencho
421483fc73
Removes getVideoId and getVideoSrc as no longer used by tests.
il y a 9 ans
damencho
0322825701
Reports initial device list and subsequent device changes to callstats.
il y a 9 ans
tsareg
e2860d55bf
Changes after code review
il y a 9 ans
tsareg
88f5b6be45
Init "currentlyAvailableMediaDevices" var for the first enumerateDevices() and don't fire event in this case
il y a 9 ans
tsareg
78cf3eabed
Don't mix old and new-style for gUM constraints for Opera also
il y a 9 ans
tsareg
4a6e28f416
Don't mix old and new-style for gUM constraints for Chrome, as it falls with TypeError in new Chrome versions
il y a 9 ans
tsareg
1877fc5447
Fixed comment
il y a 9 ans
tsareg
c320713411
Add ability to pass facingMode as option to JitsiMeetJS.createLocalTracks
il y a 9 ans
Lyubomir Marinov
9615aadfb3
Reduce the dependency on HTML elements
Since React Native doesn't have HTML elements, depend on HTML element
properties and don't necessarily depend on them being properties on
actual HTML elements but rather assume plain JavaScript objects.
il y a 9 ans
tsareg
5e4aa82cad
Report DOMException when audio output device change fails as gUM error to callstats
il y a 9 ans
tsareg
52c5444af0
Prefer front camera for all platforms
il y a 9 ans
Lyubomir Marinov
6555cd2337
Simplify source code
il y a 9 ans
hristoterezov
7499423fed
Move Temasys-specific attach to its existing execution branch
il y a 9 ans
tsareg
740f152958
getUserMedia: prefer the "user" camera if we have not specified the exact device id for mobile devices
il y a 9 ans
Lyubomir Marinov
3c3e77a607
Support React Native's MediaStream and its id
The react-native-webrtc implementation that we use on React Native (at
the time of this writing) provides a MediaStream (class) which:
- has no standard constructors but rather has a non-standard
constructor which requires a single argument that represents the id of
the MediaStream instance to initialize, and
- has an id value of type number rather than the standard string.
il y a 9 ans
Lyubomir Marinov
026c1b2f72
Define React Native as a type of browser
il y a 9 ans
tsareg
dae37beefd
Changes after code review
il y a 9 ans
tsareg
cbe024acb4
Re-wrap error received in try/catch block when calling GUM in order to provide more details on error, like what devices and constraints were used during the call
il y a 9 ans
tsareg
8273d5108c
Store additional "devices" array in JitsiTrackError for GUM errors and minor bug fixes and changes
il y a 9 ans
tsareg
403fcb0e25
Handle cases when new media devices are added/removed more precisely and more predictable
il y a 9 ans
tsareg
e4beb895d8
Log warning instead of error for audio output device change errors
il y a 9 ans
paweldomas
043f070e8d
Add 'disableAEC' and 'disableNS' config options
il y a 9 ans
Lyubomir Marinov
2c8c5a1028
Remove duplications of error messages
il y a 9 ans
Lyubomir Marinov
704f1f8063
Fix a typo in function names
il y a 9 ans
hristoterezov
dd3e1bc4a9
Calls the global error handler on every logger.error
il y a 9 ans
Lyubomir Marinov
30772c81a2
Remove a repetition of browser type checks
Depending on the type of browser within which the library is executing,
we take the decision how many times to call getUserMedia (e.g. once for
audio and once for video on Firefox). Upon getting a result of the
call, we used to perform similar browser type checks. I see this as
repetition of logic which makes it difficult to add new browser types
(e.g. React Native). Try to examine the result of the call to
getUserMedia and thus avoid re-checkign the browser type.
il y a 9 ans
Lyubomir Marinov
e165952a5d
Simplify, clarify source code
il y a 9 ans
Lyubomir Marinov
c779d7a958
Add, expand, fix jsdocs, comments
il y a 9 ans
hristoterezov
e6968912ae
Changes console.* to logger.*
il y a 9 ans
Kostiantyn Tsaregradskyi
f57a75b412
Switch local audio and video track when list of available devices changes
il y a 9 ans
Kostiantyn Tsaregradskyi
0220f82e75
Added ability to notify about available media device list changes
il y a 9 ans
hristoterezov
1decfe13d7
Adds NWJS to the list of browsers capable of changing the input devices
il y a 9 ans
Kostiantyn Tsaregradskyi
eddea0a02a
Added ability to switch audio output device - changes after review
il y a 9 ans
Kostiantyn Tsaregradskyi
4a17d57fc6
Added ability to switch audio output device
il y a 9 ans
Kostiantyn Tsaregradskyi
ae4e7222b8
Very raw version of ability to switch audio output device
il y a 9 ans
Lyubomir Marinov
551f7b5374
Simplify, properly format source code
il y a 9 ans
Lyubomir Marinov
e403a68665
Prevent TypeError
The function filter_special_chars does not have to throw a TypeError
when its argument text is null or undefined because (1) it can be argued
that neither of these two contains special characters and (2) it is much
more convenient to have the check in the function in question rather at
its multiple call sites.
il y a 9 ans
paweldomas
f6d730794e
Deal with the WebRTC streams on per track basis
il y a 9 ans
paweldomas
2534e623fc
Add VideoType
il y a 9 ans