Author: ygrego Date: 2015-04-01 15:47:24 +0000 (Wed, 01 Apr 2015) New Revision: 1031 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1031 Log: Addition of class property "channel" in constructor and deletion of class property "errorMap". Modified: oipf/js/test/VideoBroadcastTest.js Modified: oipf/js/test/VideoBroadcastTest.js =================================================================== --- oipf/js/test/VideoBroadcastTest.js 2015-04-01 15:39:21 UTC (rev 1030) +++ oipf/js/test/VideoBroadcastTest.js 2015-04-01 15:47:24 UTC (rev 1031) @@ -35,25 +35,6 @@ }, - errorMap: { - - 0: "Channel not supported by tuner.", - 1: "Cannot tune to given transport stream (e.g. no signal).", - 2: "Tuner locked by other object.", - 3: "Parental lock on channel.", - 4: "Encrypted channel, key/module missing.", - 5: "Unknown channel (e.g. can’t resolve DVB or ISDB triplet).", - 6: "Channel switch interrupted (e.g. because another channel switch was activated before the previous one completed).", - 7: "Channel cannot be changed, because it is currently being recorded.", - 8: "Cannot resolve URI of referenced IP channel.", - 9: "Insufficient bandwidth.", - 10: "Channel cannot be changed by nextChannel()/prevChannel() methods either because the OITF does not maintain a favourites or channel list or because the video/broadcast object is in the Unrealized state.", - 11: "Insufficient resources are available to present the given channel (e.g. a lack of available codec resources).", - 12: "Specified channel not found in transport stream.", - 100: "Unidentified error." - - }, - init: function() { }, @@ -65,6 +46,7 @@ this.transitions = []; this.previousState = this.vidBroadObj.playState; this.currentIndex = 0; + this.channel = null; logTest("State: Pending"); },