]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8798 #resolve [Typo in verto FSRTC lib]
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 28 Jan 2016 22:30:25 +0000 (16:30 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 28 Jan 2016 22:30:25 +0000 (16:30 -0600)
html5/verto/js/src/jquery.FSRTC.js

index 6025e08f7db74f0b8d1d0e4f95f30db17d676161..38ea5228a11c4b59d2df5f43035ece94b55cdd15 100644 (file)
             if(typeof self.options.localVideoStream.stop == 'function') {
                self.options.localVideoStream.stop();
             } else {
-               if (self.localVideoStream.active){
-                    var tracks = self.localVideoStream.getTracks();
+               if (self.options.localVideoStream.active){
+                    var tracks = self.options.localVideoStream.getTracks();
                     console.error(tracks);
                    tracks.forEach(function(track, index){
                        console.log(track);