Samson Mutunga %!s(int64=2) %!d(string=hai) anos
pai
achega
4b60309c10
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      resources/views/app/video/call-minimal.blade.php

+ 2 - 2
resources/views/app/video/call-minimal.blade.php

@@ -301,12 +301,12 @@
             // init media
             initMedia: function() {
                 var self = this;
-                if(this.initializing) {
+                if(self.initializing) {
                     console.log('Init already in progress.');
                     return;
                 }
 
-                this.initializing = true;
+                self.initializing = true;
 
                 // create client
                 this.mediaServiceClient = AgoraRTC.createClient({mode: 'rtc', codec: 'vp8'});