Author: ygrego Date: 2015-02-12 11:24:55 +0000 (Thu, 12 Feb 2015) New Revision: 794 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/794 Log: Addition of error parameter in call of method 'onPlayStateChange' if there is not exception throws into method 'bindToCurrentChannel' when video broadcast object is in state 'Unrealized'. Modified: oipf/js/impl/VideoBroadcastObject.js Modified: oipf/js/impl/VideoBroadcastObject.js =================================================================== --- oipf/js/impl/VideoBroadcastObject.js 2015-02-12 11:09:34 UTC (rev 793) +++ oipf/js/impl/VideoBroadcastObject.js 2015-02-12 11:24:55 UTC (rev 794) @@ -313,7 +313,7 @@ throw new Error(); } - this.onPlayStateChange && this.onPlayStateChange(2); + this.onPlayStateChange && this.onPlayStateChange(2, 20);//Parameter error here equals to 20 but not defined in the norm, means there is no error } catch (e) {
participants (1)
-
ygregoï¼ users.nuiton.org