From: Anthony Minessale Date: Thu, 28 Jan 2016 22:30:25 +0000 (-0600) Subject: FS-8798 #resolve [Typo in verto FSRTC lib] X-Git-Tag: v1.6.7~2^2~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65f348ec9591337023aad9703ff3d36dcea37522;p=thirdparty%2Ffreeswitch.git FS-8798 #resolve [Typo in verto FSRTC lib] --- diff --git a/html5/verto/js/src/jquery.FSRTC.js b/html5/verto/js/src/jquery.FSRTC.js index 6025e08f7d..38ea5228a1 100644 --- a/html5/verto/js/src/jquery.FSRTC.js +++ b/html5/verto/js/src/jquery.FSRTC.js @@ -342,8 +342,8 @@ 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);