diff options
author | Ivan Sein <ivan@struktur.de> | 2017-02-09 15:14:35 +0300 |
---|---|---|
committer | Ivan Sein <ivan@struktur.de> | 2017-02-09 15:14:35 +0300 |
commit | c1e7b7ee04e4cea859f50a6634f9d16bf3072de8 (patch) | |
tree | 003e3a08092ba735ebe1fc2848108d2035a58069 /js/simplewebrtc.js | |
parent | bec049be818ecc1f5d08acdabd8b668c72184c6a (diff) |
Fix related syntax problems.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
Diffstat (limited to 'js/simplewebrtc.js')
-rw-r--r-- | js/simplewebrtc.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/simplewebrtc.js b/js/simplewebrtc.js index a8c50da9e..a180380ae 100644 --- a/js/simplewebrtc.js +++ b/js/simplewebrtc.js @@ -9624,12 +9624,12 @@ supportDataChannel: !!(PC && PC.prototype && PC.prototype.createDataChannel), supportWebAudio: !!(AudioContext && AudioContext.prototype.createMediaStreamSource), supportMediaStream: !!(MediaStream && MediaStream.prototype.removeTrack), - supportScreenSharing: !!screenSharing, + supportScreenSharing: screenSharing, // old deprecated style. Dont use this anymore dataChannel: !!(PC && PC.prototype && PC.prototype.createDataChannel), webAudio: !!(AudioContext && AudioContext.prototype.createMediaStreamSource), mediaStream: !!(MediaStream && MediaStream.prototype.removeTrack), - screenSharing: !!screenSharing, + screenSharing: screenSharing, // constructors AudioContext: AudioContext, PeerConnection: PC, @@ -17380,7 +17380,7 @@ supportDataChannel: !!(PC && PC.prototype && PC.prototype.createDataChannel), supportWebAudio: !!(AudioContext && AudioContext.prototype.createMediaStreamSource), supportMediaStream: !!(MediaStream && MediaStream.prototype.removeTrack), - supportScreenSharing: !!screenSharing, + supportScreenSharing: screenSharing, // constructors AudioContext: AudioContext, PeerConnection: PC, |