HbbTv  17.9.0
Open source HBBTV engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
oipf_capabilities.c File Reference

Oipf application manager object. More...

#include <string.h>
#include <stdio.h>
#include "techtype.h"
#include "hbbtv_js.h"
#include "hbbtv_sif_os.h"
#include "object.h"
#include "hbbtv_string.h"
#include "hbbtv_control.h"
#include "oipf_drm_agent.h"

Macros

#define BEGINNING_OF_CAPABILITIES_HBBTV_STRING   "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\ <profilelist><ui_profile name=\"OITF_HD_UIPROF"
 
#define DL_OPTION_STRING   "+DL"
 
#define PVR_OPTION_STRING   "+PVR"
 
#define DRM_OPTION_STRING   "+DRM"
 
#define CAPABILITY_STRING_2   "+TRICK_MODE\"><ext><parentalcontrol schemes=\"dvb-si\">true</parentalcontrol>"
 
#define PVR_CAPABILITY_DESCRIPTION   "<recording manageRecordings=\"samedomain\">true</recording>"
 
#define DRM_CAPABILITY_DESCRIPTION_1   "<drm DRMSystemID=\"urn:dvb:casystemid:"
 
#define DRM_CAPABILITY_DESCRIPTION_2   "\" protectionGateways=\"ci+\">TS_PF</drm>"
 
#define REST_OF_CAPABILITY_STRING   "</ext></ui_profile>\ <clientMetadata type=\"dvb-si\">true</clientMetadata>\ <video_profile name=\"MP4_AVC_SD_25_HEAAC\" type=\"video/mp4\" transport=\"dash\"/>\ <video_profile name=\"MP4_AVC_HD_25_HEAAC\" type=\"video/mp4\" transport=\"dash\"/>\ <audio_profile name=\"MPEG1_L3\" type=\"audio/mpeg\"/>\ <audio_profile name=\"HEAAC\" type=\"audio/mp4\"/>\ <video_profile name=\"TS_AVC_SD_25_HEAAC\" type=\"video/mpeg\" />\ <video_profile name=\"TS_AVC_HD_25_HEAAC\" type=\"video/mpeg\" />\ <video_profile name=\"MP4_AVC_SD_25_HEAAC\" type=\"video/mp4\" />\ <video_profile name=\"MP4_AVC_HD_25_HEAAC\" type=\"video/mp4\" />\ <audio_profile name=\"MPEG1_L3\" type=\"audio/mpeg\"/>\ <audio_profile name=\"HEAAC\" type=\"audio/mp4\"/>\ <video_profile name=\"TS_AVC_SD_25_E-AC3\" type=\"video/mpeg\" />\ <video_profile name=\"TS_AVC_HD_25_E-AC3\" type=\"video/mpeg\" />\ <video_profile name=\"MP4_AVC_SD_25_E-AC3\" type=\"video/mp4\" />\ <video_profile name=\"MP4_AVC_HD_25_E-AC3\" type=\"video/mp4\" />\ <video_profile name=\"MP4_AVC_SD_25_E-AC3\" type=\"video/mp4\" transport=\"dash\"/>\ <video_profile name=\"MP4_AVC_HD_25_E-AC3\" type=\"video/mp4\" transport=\"dash\"/>\ </profilelist>"
 

Functions

void * HBBTV_JSOipfCapabilities_getXmlCapabilities (void *obj)
 readonly Document xmlCapabilities, Section 7.15.3.1 More...
 
U8BIT HBBTV_JSOipfCapabilities_getExtraSDVideoDecodes (void *obj)
 readonly Number extraSDVideoDecodes, Section 7.15.3.1. This property is not implemented and returns 0. More...
 
U8BIT HBBTV_JSOipfCapabilities_getExtraHDVideoDecodes (void *obj)
 readonly Number extraHDVideoDecodes, Section 7.15.3.1. This property is not implemented and returns 0. More...
 
BOOLEAN HBBTV_JSOipfCapabilities_hasCapability (void *obj, S_HBBTV_STRING *profileName)
 Boolean hasCapability( String profileName ), Section 7.15.3.2. More...
 
void * HBBTV_Capabilities_getOptionsString (void)
 Returns a string object containing the supported options as defined in TS102796, section 10.2.4. This function can be used to return the correct User-Agent value. The string object must be released using HBBTV_JSObject_release. More...
 

Variables

void * JS_OIPF_CAPABILITIES_CLASS = &s_vtab
 

Detailed Description

Oipf application manager object.

Date
01/01/2013
Author
Adam Sturtridge

Function Documentation

void* HBBTV_Capabilities_getOptionsString ( void  )

Returns a string object containing the supported options as defined in TS102796, section 10.2.4. This function can be used to return the correct User-Agent value. The string object must be released using HBBTV_JSObject_release.

Returns a string object containing the supported options as defined in TS102796, section 10.2.4. The returned string can be used to form the correct User-Agent value. The string object must be released using HBBTV_JSObject_release.

Returns
String object. NULL if no option is supported.
U8BIT HBBTV_JSOipfCapabilities_getExtraHDVideoDecodes ( void *  obj)

readonly Number extraHDVideoDecodes, Section 7.15.3.1. This property is not implemented and returns 0.

Note
readonly Number extraHDVideoDecodes
Section 7.15.3.1
This property is not implemented and returns 0
Returns
number of additional decoders for SD video
U8BIT HBBTV_JSOipfCapabilities_getExtraSDVideoDecodes ( void *  obj)

readonly Number extraSDVideoDecodes, Section 7.15.3.1. This property is not implemented and returns 0.

Note
readonly Number extraSDVideoDecodes
Section 7.15.3.1
This property is not implemented and returns 0
Returns
number of additional decoders for SD video
void* HBBTV_JSOipfCapabilities_getXmlCapabilities ( void *  obj)

readonly Document xmlCapabilities, Section 7.15.3.1

Note
readonly Document xmlCapabilities
Section 7.3.1.1
BOOLEAN HBBTV_JSOipfCapabilities_hasCapability ( void *  obj,
S_HBBTV_STRING profileName 
)

Boolean hasCapability( String profileName ), Section 7.15.3.2.

Note
Boolean hasCapability( String profileName )
Section 7.15.3.2