Author: ygrego Date: 2015-05-12 07:41:24 +0000 (Tue, 12 May 2015) New Revision: 1332 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1332 Log: This class contains the minimal data in order to create oipf object "CapabilitiesObject". Added: oipf/js/configuration/CapabilitiesProperties.js Added: oipf/js/configuration/CapabilitiesProperties.js =================================================================== --- oipf/js/configuration/CapabilitiesProperties.js (rev 0) +++ oipf/js/configuration/CapabilitiesProperties.js 2015-05-12 07:41:24 UTC (rev 1332) @@ -0,0 +1,148 @@ +/* + * The OITF SHALL support following non-visual embedded object with + * the mime type application/oipfCapabilities. + */ +var CapabilitiesProperties = Class.extend({ + profileNameMapping: { + "+TRICKMODE": { + value: [ + "VK_PLAY", + "VK_PAUSE", + "VK_PLAY_PAUSE", + "VK_STOP", + "VK_REWIND", + "VK_FAST_FWD"] + }, + "+ITV_KEYS": { + value: [ + "VK_HOME", + "VK_MENU", + "VK_CANCEL", + "VK_SUBTITLE"] + }, + "+CONTROLLED": { + value: [ + "VK_CHANNEL_UP", + "VK_CHANNEL_DOWN", + "VK_VOLUME_UP", + "VK_VOLUME_DOWN", + "VK_MUTE"], + tagName: [ + "configurationChanges", + "extendedAVControl", + "remote_diagnostics" + ] + }, + "+PVR": { + value: "VK_RECORD", + tagName: "recording", + }, + "+DRM": { + tagName: "drm", + }, + "+CommunicationServices": { + tagName: "communicationServices", + }, + "+SVG": { + tagName: "mime-extensions", + }, + "+POINTER": { + tagName: "pointer", + }, + "+WIDGETS": { + tagName: "widgets", + }, + "+HTML5_MEDIA": { + tagName: "html5_media", + }, + "+RCF": { + tagName: "remoteControlFunction", + }, + "+AVCAD": { + attributeValue: "application/vnd.oipf.ContentAccessStreaming+xml" + }, + "+DL": { + attributeValue: "http" + }, + "+IPTV_SDS": { + attributeValue: "ID_IPTV_SDS" + }, + "+IPTV_URI": { + attributeValue: "ID_IPTV_URI" + }, + "+ANA": { + attributeValue: "ID_ANALOG" + }, + "+DVB_C": { + attributeValue: "ID_DVB_C ID_DVB_SI_DIRECT" + }, + "+DVB_T": { + attributeValue: "ID_DVB_T ID_DVB_SI_DIRECT" + }, + "+DVB_S": { + attributeValue: "ID_DVB_S ID_DVB_SI_DIRECT" + }, + "+DVB_C2": { + attributeValue: "ID_DVB_C2 ID_DVB_SI_DIRECT" + }, + "+DVB_T2": { + attributeValue: "ID_DVB_T2 ID_DVB_SI_DIRECT" + }, + "+DVB_S2": { + attributeValue: "ID_DVB_S2 ID_DVB_SI_DIRECT" + }, + "+META_BCG": { + attributeValue: "bcg" + }, + "+META_EIT": { + attributeValue: "eit-pf" + }, + "+META_SI": { + attributeValue: "dvb-si" + } + }, + + roots: "profilelist", + + default: { + "video_broadcast": { + "value": true, + "attributes": { + type: "ID_DVB_S ID_DVB_T", + transport: "", + nrstreams: 1, + scaling: "arbitrary", + minSize: 0, + postList: false, + networkTimeshift: false, + localTimeshift: false + } + }, + "overlaylocaltuner": { + "value": "per-pixel", + }, + "recording": { + "value": true, + "attributes": { + ipBroadcast: false, + HAS: false, + DASH: false, + manageRecordings: "initiator", + postList: false + } + }, + "clientMetadata": { + "value": true, + "attributes": { + type: "eit-pf" + } + }, + "configurationChanges": { + "value": true, + "attributes": { + + } + } + } +}); +
participants (1)
-
ygregoï¼ users.nuiton.org