Author: ygrego Date: 2015-04-15 14:42:20 +0000 (Wed, 15 Apr 2015) New Revision: 1201 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1201 Log: The VideoBroadcastObject constructor has no more of parameter. And "_channelService" receives directly a new instance of "ChannelService". Modified: oipf/js/impl/VideoBroadcastObject.js Modified: oipf/js/impl/VideoBroadcastObject.js =================================================================== --- oipf/js/impl/VideoBroadcastObject.js 2015-04-15 14:40:18 UTC (rev 1200) +++ oipf/js/impl/VideoBroadcastObject.js 2015-04-15 14:42:20 UTC (rev 1201) @@ -142,12 +142,12 @@ console.log("[INFO] createdCallback called."); }, - init: function (channelService) { + init: function () { console.log("[INFO] constructor of VideoBroadcast class called."); this.playState = 0; this._listeners = {}; this._callbacks = {}; - this._channelService = channelService; + this._channelService = new ChannelService(null); this._eventManager = new EventManager(); this._timerManager = new TimerManager();