Author: ygrego Date: 2015-02-20 11:38:34 +0000 (Fri, 20 Feb 2015) New Revision: 840 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/840 Log: New property "error" to manage errors which will be received by the video broadcast object. Modified: oipf/js/test/VideoBroadcastTest.js Modified: oipf/js/test/VideoBroadcastTest.js =================================================================== --- oipf/js/test/VideoBroadcastTest.js 2015-02-20 11:23:17 UTC (rev 839) +++ oipf/js/test/VideoBroadcastTest.js 2015-02-20 11:38:34 UTC (rev 840) @@ -4,6 +4,24 @@ * */ var VideoBroadcastTest = TestCase.extend({ + error: [ + { + 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." + } + ], videoBroadcastObject: null, init: function () { },