Author: ygrego Date: 2015-02-20 14:37:07 +0000 (Fri, 20 Feb 2015) New Revision: 845 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/845 Log: Comment addition in method "bindToCurrentChannel". Modified: oipf/js/impl/VideoBroadcastObject.js Modified: oipf/js/impl/VideoBroadcastObject.js =================================================================== --- oipf/js/impl/VideoBroadcastObject.js 2015-02-20 14:30:30 UTC (rev 844) +++ oipf/js/impl/VideoBroadcastObject.js 2015-02-20 14:37:07 UTC (rev 845) @@ -278,14 +278,14 @@ var currentChan = channelConfig.currentChannel; var self = this; switch (this.playstate) { - + case 0: //claimed scarce resources //Call method to claim scarces resources - + if (currentChan) { this.currentChannel = currentChan; - + setTimeout(function () { self.onPlayStateChange && self.onPlayStateChange(2);//Parameter error here equals to 20 but not defined in the norm, means there is no error }, 0); @@ -300,6 +300,7 @@ case 3: setTimeout(function () { + //Make enable video and audio presentation self.onPlayStateChange && self.onPlayStateChange(1); }, 0); break;