Author: ygrego Date: 2015-02-16 11:18:26 +0000 (Mon, 16 Feb 2015) New Revision: 806 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/806 Log: Perform the changing state of video broadcast object out of try block of method bindToCurrentChannel. Modified: oipf/js/impl/VideoBroadcastObject.js Modified: oipf/js/impl/VideoBroadcastObject.js =================================================================== --- oipf/js/impl/VideoBroadcastObject.js 2015-02-13 16:54:06 UTC (rev 805) +++ oipf/js/impl/VideoBroadcastObject.js 2015-02-16 11:18:26 UTC (rev 806) @@ -313,12 +313,12 @@ throw new Error(); } - 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) { this.onPlayStateChange && this.onPlayStateChange(0, 100); } + this.onPlayStateChange && this.onPlayStateChange(2, 20);//Parameter error here equals to 20 but not defined in the norm, means there is no error break; case 1: @@ -410,8 +410,13 @@ * */ prevChannel: function() { - - + var channelConfig = oipfObjectFactory.createChannelConfig(); + + if (channelConfig === null){ + + + } + }, /*
participants (1)
-
ygregoï¼ users.nuiton.org