diff --git a/html5/verto/js/src/jquery.FSRTC.js b/html5/verto/js/src/jquery.FSRTC.js index 05501193b7..f4f79f0c86 100644 --- a/html5/verto/js/src/jquery.FSRTC.js +++ b/html5/verto/js/src/jquery.FSRTC.js @@ -507,7 +507,7 @@ }, localVideo: obj.options.localVideo, - onsuccess: function(e) {self.options.localVideoStream = e; console.log("local video ready");}, + onsuccess: function(e) {obj.options.localVideoStream = e; console.log("local video ready");}, onerror: function(e) {console.error("local video error!");} }); }