Author: ygrego Date: 2015-03-30 10:24:58 +0000 (Mon, 30 Mar 2015) New Revision: 976 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/976 Log: Deletion in method "bindToCurrentChannel" of clause "else" in case UNREALIZED which has been replaced by a comment in order to give more indication at this point in the method. Modified: oipf/js/impl/VideoBroadcastObject.js Modified: oipf/js/impl/VideoBroadcastObject.js =================================================================== --- oipf/js/impl/VideoBroadcastObject.js 2015-03-26 16:38:37 UTC (rev 975) +++ oipf/js/impl/VideoBroadcastObject.js 2015-03-30 10:24:58 UTC (rev 976) @@ -329,10 +329,12 @@ .then(this.setCurrentChannel.bind(this, currentChannel)) .then(this.changePlayState.bind(this, this._PRESENTING)); - } else { - this._timer = oipf.utils.timeout(0) - .then(this.changePlayState.bind(this, this._UNREALIZED, 100)); } + /* + * When there isn't channel presented, the video-broadcast + * object and his state equals to Unrealized, so it's not + * necessary to change its state. + */ break; case this._CONNECTING: