Lyubomir Marinov
2c8c5a1028
Remove duplications of error messages
9 years ago
Lyubomir Marinov
704f1f8063
Fix a typo in function names
9 years ago
hristoterezov
dd3e1bc4a9
Calls the global error handler on every logger.error
9 years ago
tsareg
6500f9e1f4
Do not subscribe each JitsiTrack to RTCEvents.AUDIO_OUTPUT_DEVICE_CHANGED, instead subscribe once in RTC
9 years ago
Lyubomir Marinov
3b4351a3cf
Add jsdocs and optimize
9 years ago
hristoterezov
3aa49c4c2a
Removes fake video tracks from the code
9 years ago
paweldomas
c90d758fdf
Reopen data channels on ice restart
9 years ago
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.
9 years ago
Lyubomir Marinov
e165952a5d
Simplify, clarify source code
9 years ago
Lyubomir Marinov
c779d7a958
Add, expand, fix jsdocs, comments
9 years ago
hristoterezov
abdb7e3c49
Fixes issue with fake streams that are never removed
9 years ago
hristoterezov
e6968912ae
Changes console.* to logger.*
9 years ago
Kostiantyn Tsaregradskyi
f57a75b412
Switch local audio and video track when list of available devices changes
9 years ago
Kostiantyn Tsaregradskyi
0220f82e75
Added ability to notify about available media device list changes
9 years ago
hristoterezov
1decfe13d7
Adds NWJS to the list of browsers capable of changing the input devices
9 years ago
Kostiantyn Tsaregradskyi
eddea0a02a
Added ability to switch audio output device - changes after review
9 years ago
Kostiantyn Tsaregradskyi
4a17d57fc6
Added ability to switch audio output device
9 years ago
Kostiantyn Tsaregradskyi
ae4e7222b8
Very raw version of ability to switch audio output device
9 years ago
hristoterezov
ba96423c1a
Fixes chrome undefined JS error
9 years ago
Lyubomir Marinov
551f7b5374
Simplify, properly format source code
9 years ago
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.
9 years ago
Boris Grozev
fe724ef7dc
Avoid unnecessary traversal.
9 years ago
paweldomas
f6d730794e
Deal with the WebRTC streams on per track basis
9 years ago
paweldomas
e72d0df947
Comment out unused method
9 years ago
paweldomas
c8ab78efff
Simplify the loop and fix formatting(line limit), add null check
9 years ago
paweldomas
b58a6f06dc
Fix the naming of RTC.removeRemoteTrack
9 years ago
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 years ago
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 years ago
paweldomas
2534e623fc
Add VideoType
9 years ago
paweldomas
0f3cd3b873
Add MediaType
9 years ago
paweldomas
e90eb532b9
Require RTCUtils in JitsiTrack
9 years ago
paweldomas
6b25f9cd20
Add missing semicolons, break some comments at line limit
9 years ago
paweldomas
9c0e7afca2
Remove unused/invalid call
9 years ago
hristoterezov
2f026f8ff1
Changes FIXME comment about the data channels
9 years ago
hristoterezov
eab5873d89
Fixes issues realted to JitsiConference.leave()
9 years ago
Devin Wilson
f92df42f2f
Add maxFps option for requesting video
10 years ago
isymchych
fa9fe84e23
integration with NW.js
10 years ago
damencho
f18f56989d
Fixes audio mute/unmute all.
10 years ago
damencho
e8739706e1
Renames some variables.
10 years ago
paweldomas
2db4f555e1
Fixes 'arg' undefined in ScreenObtainer
10 years ago
damencho
b40b0c19d1
Rejects unmute promise if error is cought.
10 years ago
damencho
a1bef9da5c
Moves common logic in util function.
10 years ago
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 years ago
damencho
58d1f9b345
Removes unused events.
10 years ago
damencho
104bf2363b
Adds an error for user canceling the window choosing window/desktop when sharing desktop.
10 years ago
damencho
f7e63c5850
Adds some more logged info and error type for chrome installation failure.
10 years ago
hristoterezov
1c9eed44c5
Renames JitsiTrack.stop method and TRACK_STOPPED event. Fixes minor issues with TRACK_REMOVED event.
10 years ago
damencho
74f126c905
Fixes attaching onended handler when using Temasys.
10 years ago
damencho
352de0b818
Fixes undefined error in getResourceBySSRC when local video or audio track is stopped, reported to happen sometimes with desktop sharing.
10 years ago
hristoterezov
43c1d3f38f
Fixes the sources in session-accept jingle packets. Fixes issue with not replacing unmuted SSRCs in the SDP.
10 years ago