Don't reference simulcastUtils of parent.

This commit is contained in:
George Politis 2014-10-21 15:36:11 +02:00
parent b369e28bb0
commit 6e58fb9a39
1 changed files with 3 additions and 3 deletions

View File

@ -224,8 +224,8 @@ SimulcastUtils.prototype._compileVideoSources = function (videoSources) {
return sb;
};
function SimulcastReceiver(simulcastUtils) {
this.simulcastUtils = simulcastUtils;
function SimulcastReceiver() {
this.simulcastUtils = new SimulcastUtils();
this.logger = new SimulcastLogger('SimulcastReceiver');
}
@ -933,7 +933,7 @@ function SimulcastManager() {
this.simulcastUtils = new SimulcastUtils();
// Create remote simulcast.
this.simulcastReceiver = new SimulcastReceiver(this.simulcastUtils);
this.simulcastReceiver = new SimulcastReceiver();
// Initialize local simulcast.