Browse Source

Don't reference simulcastUtils of parent.

master
George Politis 11 years ago
parent
commit
6e58fb9a39
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      simulcast.js

+ 3
- 3
simulcast.js View File

224
     return sb;
224
     return sb;
225
 };
225
 };
226
 
226
 
227
-function SimulcastReceiver(simulcastUtils) {
228
-    this.simulcastUtils = simulcastUtils;
227
+function SimulcastReceiver() {
228
+    this.simulcastUtils = new SimulcastUtils();
229
     this.logger = new SimulcastLogger('SimulcastReceiver');
229
     this.logger = new SimulcastLogger('SimulcastReceiver');
230
 }
230
 }
231
 
231
 
933
     this.simulcastUtils = new SimulcastUtils();
933
     this.simulcastUtils = new SimulcastUtils();
934
 
934
 
935
     // Create remote simulcast.
935
     // Create remote simulcast.
936
-    this.simulcastReceiver = new SimulcastReceiver(this.simulcastUtils);
936
+    this.simulcastReceiver = new SimulcastReceiver();
937
 
937
 
938
     // Initialize local simulcast.
938
     // Initialize local simulcast.
939
 
939
 

Loading…
Cancel
Save