Consumer terminal function for access to IPTV and open multimedia services - Part 5-1: Declarative application environment

IEC 62766-5-1:2017(E) specifies the Declarative Application Environment (DAE) component of the OIPF terminal function (OITF). The DAE is a declarative language based environment (browser) based on the OIPF web standards TV profile specified in IEC 62766-5-2 for the presentation of user interfaces and including scripting support for interaction with network server-side applications and access to the APIs of the other OITF functions.

General Information

Status
Published
Publication Date
25-Jul-2017
Current Stage
PPUB - Publication issued
Start Date
08-Aug-2017
Completion Date
26-Jul-2017
Ref Project
Standard
IEC 62766-5-1:2017 - Consumer terminal function for access to IPTV and open multimedia services - Part 5-1: Declarative application environment
English language
397 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 62766-5-1 ®
Edition 1.0 2017-07
INTERNATIONAL
STANDARD
colour
inside
Consumer terminal function for access to IPTV and open internet multimedia
services –
Part 5-1: Declarative application environment

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé Fax: +41 22 919 03 00
CH-1211 Geneva 20 info@iec.ch
Switzerland www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing 20 000 terms and definitions in
Technical Specifications, Technical Reports and other English and French, with equivalent terms in 16 additional
documents. Available for PC, Mac OS, Android Tablets and languages. Also known as the International Electrotechnical
iPad. Vocabulary (IEV) online.

IEC publications search - www.iec.ch/searchpub IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a 65 000 electrotechnical terminology entries in English and
variety of criteria (reference number, text, technical French extracted from the Terms and Definitions clause of
committee,…). It also gives information on projects, replaced IEC publications issued since 2002. Some entries have been
and withdrawn publications. collected from earlier publications of IEC TC 37, 77, 86 and

CISPR.
IEC Just Published - webstore.iec.ch/justpublished

Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: csc@iec.ch.
IEC 62766-5-1 ®
Edition 1.0 2017-07
INTERNATIONAL
STANDARD
colour
inside
Consumer terminal function for access to IPTV and open internet multimedia

services –
Part 5-1: Declarative application environment

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ISBN 978-2-8322-4573-6
ICS 33.170 35.240.95
– 2 – IEC 62766-5-1:2017 © IEC 2017
CONTENTS
FOREWORD . 12
INTRODUCTION . 14
1 Scope . 15
2 Normative references . 15
3 Terms, definitions and abbreviated terms . 17
3.1 Terms and definitions . 17
3.2 Abbreviated terms . 19
4 DAE overview . 19
4.1 General . 19
4.2 Architecture of the DAE . 20
4.3 Gateway discovery and control . 21
4.4 Application definition . 22
4.4.1 General . 22
4.4.2 Similarities between applications and traditional web pages . 22
4.4.3 Differences between applications and traditional web pages . 22
4.4.4 The application tree . 23
4.4.5 The application display model . 23
4.4.6 The security model . 23
4.4.7 Inheritance of permissions . 24
4.4.8 Privileged application APIs . 24
4.4.9 Active applications list . 24
4.4.10 Widgets . 24
4.4.11 Origin for broadcast-delivered documents . 25
4.5 Resource management . 25
4.5.1 General . 25
4.5.2 Application lifecycle issues . 25
4.5.3 Caching of application files . 26
4.5.4 Memory usage . 26
4.5.5 Instantiating embedded objects and claiming scarce system resources . 26
4.5.6 Media control . 26
4.5.7 Use of the display . 27
4.5.8 Cross-application event handling . 28
4.5.9 Tuner resources . 29
4.6 Parental access control . 30
4.7 Content download . 31
4.7.1 General . 31
4.7.2 Download manager . 31
4.7.3 Content access download descriptor . 31
4.7.4 Triggering a download . 31
4.7.5 Download protocol(s) . 32
4.8 Streaming CoD . 33
4.8.1 General . 33
4.8.2 Unicast streaming . 33
4.9 Scheduled content . 34
4.9.1 General . 34
4.9.2 Conveyance of channel list . 34
4.9.3 Conveyance of channel list and list of scheduled recordings . 35

4.10 DLNA RUI remote control function . 36
4.10.1 General . 36
4.10.2 Interfaces used by the DLNA RUI remote control function . 37
4.11 Power consumption . 38
4.11.1 General . 38
4.11.2 DAE application wake-up support . 39
4.11.3 OITF hibernate support . 40
4.11.4 State diagram for the power state . 41
4.12 Display model . 41
5 DAE application model . 41
5.1 Application lifecycle . 41
5.1.1 General . 41
5.1.2 Creating a new application. 41
5.1.3 Stopping an application . 43
5.1.4 Application boundaries . 43
5.2 Application announcement and signalling . 43
5.2.1 Overview . 43
5.2.2 General . 44
5.2.3 Broadcast-related applications . 45
5.2.4 Service provider related applications . 50
5.2.5 Broadcast-indepe ndent applications . 51
5.2.6 Switching between applications . 51
5.2.7 Signalling format . 51
5.2.8 Widgets lifecycle . 55
5.3 Event notifications . 56
5.3.1 General . 56
5.3.2 Event notification framework based on CEA 2014 . 57
5.3.3 IMS event notification framework . 59
6 Formats . 66
6.1 Web standards TV profile . 66
6.1.1 General . 66
6.1.2 Additional restrictions and requirements . 67
6.2 Still image formats . 67
6.3 Media formats . 67
6.3.1 General . 67
6.3.2 Media format of A/V media except for audio from memory . 67
6.3.3 Media format of A/V media for audio from memory . 68
6.3.4 Media transport . 68
6.4 SVG . 68
7 APIs . 68
7.1 Object factory API . 68
7.1.1 General . 68
7.1.2 Methods . 69
7.1.3 Examples. 71
7.2 Application management APIs. 72
7.2.1 General . 72
7.2.2 The application/oipfApplicationManager embedded object . 72
7.2.3 Application class . 76
7.2.4 The ApplicationCollection class . 79

– 4 – IEC 62766-5-1:2017 © IEC 2017
7.2.5 The ApplicationPrivateData class . 79
7.2.6 The Keyset class . 80
7.2.7 New DOM events for application support . 82
7.2.8 Examples. 83
7.2.9 Widget APIs . 84
7.3 Configuration and setting APIs . 85
7.3.1 General . 85
7.3.2 The application/oipfConfiguration embedded object . 85
7.3.3 The Configuration class . 86
7.3.4 The LocalSystem class . 88
7.3.5 The NetworkInterface class . 94
7.3.6 The AVOutput class . 94
7.3.7 The NetworkInterfaceCollection class . 98
7.3.8 The AVOutputCollection class . 98
7.3.9 The TunerCollection class . 98
7.3.10 The Tuner class . 98
7.3.11 The SignalInfo class . 99
7.3.12 The LNBInfo class . 100
7.3.13 The StartupInformation class . 101
7.4 Content download APIs . 101
7.4.1 General . 101
7.4.2 The application/oipfDownloadTrigger embedded object . 101
7.4.3 Extensions to application/oipfDownloadTrigger . 104
7.4.4 The application/oipfDownloadManager embedded object . 104
7.4.5 The Download class . 110
7.4.6 The DownloadCollection class . 113
7.4.7 The DRMControlInformation class . 113
7.4.8 The DRMControlInfoCollection class . 114
7.5 Content on demand metadata APIs . 114
7.5.1 General . 114
7.5.2 The application/oipfCodManager embedded object . 114
7.5.3 The ContentCatalogueCollection class. 116
7.5.4 The ContentCatalogue class . 116
7.5.5 The ContentCatalogueEvent class . 117
7.5.6 The CODFolder class . 117
7.5.7 The CODAsset class . 118
7.5.8 The CODService class . 121
7.6 Content service protection API . 123
7.6.1 General . 123
7.6.2 The application/oipfDrmAgent embedded object . 123
7.7 Gateway discovery and control APIs . 125
7.7.1 General . 125
7.7.2 The application/oipfGatewayInfo embedded object . 126
7.8 Communication services APIs . 128
7.8.1 General . 128
7.8.2 The application/oipfCommunicationServices embedded object. 129
7.8.3 Extensions to application/oipfCommunicationServices for presence and
messaging services . 132
7.8.4 The UserData class – Properties . 135

7.8.5 The UserDataCollection class . 136
7.8.6 The FeatureTag class – Properties . 136
7.8.7 The FeatureTagCollection class. 136
7.8.8 The Contact class – Properties . 136
7.8.9 The ContactCollection class . 136
7.8.10 Extensions to application/oipfCommunicationServices for voice
telephony services . 137
7.8.11 Extensions to application/oipfCommunicationServices for video
telephony services . 143
7.8.12 The DeviceInfo class . 145
7.8.13 The DeviceInfoCollection class . 146
7.8.14 The CodecInfo class . 146
7.8.15 The CodecInfoCollection class . 146
7.9 Parental rating and parental control APIs . 147
7.9.1 General . 147
7.9.2 The application/oipfParentalControlManager embedded object . 147
7.9.3 The ParentalRatingScheme class . 150
7.9.4 The ParentalRatingSchemeCollection class . 151
7.9.5 The ParentalRating class . 152
7.9.6 The ParentalRatingCollection class . 154
7.10 Scheduled Recording APIs. 155
7.10.1 General . 155
7.10.2 The application/oipfRecordingScheduler embedded object . 155
7.10.3 The ScheduledRecording class . 158
7.10.4 The ScheduledRecordingCollection class . 162
7.10.5 Extension to application/oipfRecordingScheduler for control of
recordings . 162
7.10.6 The Recording class . 164
7.10.7 The RecordingCollection class . 167
7.10.8 The PVREvent class . 167
7.10.9 The Bookmark class . 167
7.10.10 The BookmarkCollection class . 168
7.11 Remote Management APIs . 168
7.11.1 General . 168
7.11.2 The application/oipfRemoteManagement embedded object . 168
7.12 Metadata APIs . 172
7.12.1 General . 172
7.12.2 The application/oipfSearchManager embedded object . 173
7.12.3 The MetadataSearch class . 175
7.12.4 The Query class . 180
7.12.5 The SearchResults class . 181
7.12.6 The MetadataSearchEvent class . 182
7.12.7 The MetadataUpdateEvent class . 182
7.13 Scheduled content and hybrid tuner APIs . 182
7.13.1 General . 182
7.13.2 The video/broadcast embedded object . 182
7.13.3 Extensions to video/broadcast for recording and time-shift . 198
7.13.4 Extensions to video/broadcast for access to EIT p/f . 207
7.13.5 Extensions to video/broadcast for playback of selected components . 208
7.13.6 Extensions to video/broadcast for parental ratings errors . 209

– 6 – IEC 62766-5-1:2017 © IEC 2017
7.13.7 Extensions to video/broadcast for DRM rights errors. 210
7.13.8 Extensions to video/broadcast for current channel information . 211
7.13.9 Extensions to video/broadcast for creating channel lists from SD&S
fragments . 211
7.13.10 The ChannelConfig class . 211
7.13.11 The ChannelList class . 216
7.13.12 The Channel class . 217
7.13.13 The FavouriteListCollection class . 222
7.13.14 The FavouriteList class . 223
7.13.15 Extensions to video/broadcast for channel scan . 225
7.13.16 The ChannelScanEvent class . 225
7.13.17 The ChannelScanOptions class . 225
7.13.18 The ChannelScanParameters class . 225
7.13.19 The DVBTChannelScanParameters class . 225
7.13.20 The DVBSChannelScanParameters class . 227
7.13.21 The DVBCChannelScanParameters class . 228
7.13.22 Extensions to video/broadcast for synchronization . 229
7.13.23 The ATSCTChannelScanParameters class . 230
7.14 Media playback APIs. 231
7.14.1 General . 231
7.14.2 The A/V Control object . 231
7.14.3 Extensions to A/V Control object for playback through Content-Access
Streaming Descriptor . 238
7.14.4 Extensions to A/V Control object for trickmodes . 239
7.14.5 Extensions to A/V Control object for playback of selected components . 240
7.14.6 Extensions to A/V Control object for parental rating errors . 240
7.14.7 Extensions to A/V Control object for DRM rights errors . 242
7.14.8 Extensions to A/V Control object for playing media objects . 243
7.14.9 Extensions to A/V Control object for UI feedback of buffering A/V
content . 243
7.14.10 DOM events for A/V Control object . 247
7.14.11 Playback of memory audio . 248
7.14.12 Extensions to A/V Control object for media queuing . 250
7.14.13 Extensions to A/V Control object for volume control . 251
7.14.14 Extensions to A/V Control object for resource management . 251
7.15 Miscellaneous APIs . 252
7.15.1 The application/oipfMDTF embedded object . 252
7.15.2 The application/oipfStatusView embedded object . 254
7.15.3 The application/oipfCapabilities embedded object . 255
7.15.4 The Navigator class . 256
7.15.5 Debug print API . 256
7.16 Shared Utility classes and features . 256
7.16.1 Base collections . 256
7.16.2 The Programme class . 257
7.16.3 The ProgrammeCollection class . 262
7.16.4 The DiscInfo class . 262
7.16.5 Extensions for playback of selected media components . 262
7.16.6 Additional support for protected content . 266
7.17 DLNA RUI remote control function APIs . 267
7.17.1 General . 267

7.17.2 The application/oipfRemoteControlFunction embedded object . 267
8 System integration aspects . 272
8.1 HTTP protocol . 272
8.1.1 General . 272
8.1.2 HTTP User-Agent header . 272
8.1.3 HTTP X-OITF-RCF-User-Agent header . 273
8.2 Mapping from APIs to protocols . 273
8.2.1 General . 273
8.2.2 CoD download over HTTP . 274
8.2.3 CoD unicast streaming with SIP session management . 274
8.2.4 Scheduled content multicast streaming with SIP session management . 278
8.2.5 Communication services with SIP session management . 284
8.2.6 CoD unicast streaming over RTP and HTTP . 284
8.2.7 Scheduled content multicast streaming . 288
8.3 URI schemes and their usage . 289
8.3.1 General . 289
8.3.2 Media fragments support . 290
8.4 Mapping from APIs to content formats . 291
8.4.1 Character conversion . 291
8.4.2 AVComponent . 291
8.4.3 Channel . 294
8.4.4 Programme, ScheduledRecording, Recording and Download . 299
8.4.5 Exposing audio description streams as AVComponent objects . 307
8.4.6 HTML5 media element mapping . 307
8.5 DLNA RUI remote control function implementation . 309
8.5.1 General . 309
8.5.2 Relationship between DAE application and control UI . 309
8.5.3 XML UI listing provisioning . 310
8.5.4 Retrieving the control UI . 312
8.5.5 Receiving and responding to a message between the control UI in the
remote control device and OITF . 313
8.5.6 Notification to the remote control device . 315
8.5.7 Handling multiple DAE applications and multiple remote control devices . 316
9 Capabilities . 317
9.1 Minimum DAE capability requirements . 317
9.1.1 General . 317
9.1.2 SSL/TTLS Requirements . 320
9.2 Default UI profiles . 321
9.3 Client capability description . 324
9.3.1 General . 324
9.3.2 Tuner/broadcast capability indication . 325
9.3.3 Broadcast content over IP capability indication . 326
9.3.4 PVR capability indication . 326
9.3.5 Download CoD capability indication . 327
9.3.6 Parental ratings . 328
9.3.7 Extended A/V API support . 329
9.3.8 OITF metadata API support . 329
9.3.9 OITF configuration API support . 329
9.3.10 Communication services API Support . 330

– 8 – IEC 62766-5-1:2017 © IEC 2017
9.3.11 DRM capability indication . 330
9.3.12 Media profile capability indication . 331
9.3.13 Remote diagnostics support . 332
9.3.14 SVG . 332
9.3.15 Third party notification support . 333
9.3.16 Multicast delivery terminating function support . 333
9.3.17 Other capability extensions . 333
9.3.18 HTML5 video . 333
9.3.19 DLNA RUI remote control function support . 333
9.3.20 Power consumption . 333
9.3.21 Widgets . 333
9.3.22 Buffer control of AV content playback API support . 334
9.3.23 Temporal clipping . 334
9.3.24 Capability elements from other schemas . 335
9.3.25 Pointer support . 335
10 Security . 335
10.1 Application / service security . 335
10.1.1 General . 335
10.1.2 OITF requirements . 335
10.1.3 Server requirements . 336
10.1.4 Specific security requirements for privileged JavaScript APIs . 336
10.1.5 Permission names . 339
10.1.6 Loading documents from different domains . 341
10.2 User authentication . 341
10.3 DLNA RUI remote control . 341
11 DAE Widgets . 341
11.1 General . 341
11.2 Widgets packaging and configuration . 341
11.3 Access request . 342
11.4 Widget interface . 342
11.5 Digital signature . 342
12 Graphics performance . 343
12.1 Overview. 343
12.2 Performance levels . 343
12.3 Minimum 2D graphics performance . 343
12.4 Minimum 3D graphics performance . 344
12.5 Minimum canvas performance . 344
12.6 Minimum WebGL performance . 344
12.7 Performance measurement . 344
Annex A (informative) Design rationale – application model . 346
Annex B (informative) Clarification of download CoD, streaming CoD and CSP
interfaces . 347
B.1 Overview. 347
B.2 List of interfaces . 348
B.2.1 Interface a): browse, select and purchase content from CoD store . 348
B.2.2 Interface b*): in-session interaction from web page with underlying DRM
agent . 348
B.2.3 Interface c*): autonomous out-of-session interaction between DRM
agent and CoD store . 349

B.2.4 Interface d*): downloading content . 349
B.2.5 Interface e*): unicast streaming and playback of downloaded content
using A/V Control object . 351
B.2.6 Interface f): request licence . 351
B.2.7 Interface g*): local metadata based applications . 351
B.3 Additional notes about content-on-demand . 351
Annex C (normative) Content access descriptor syntax and semantics . 352
C.1 Content access download descriptor format . 352
C.2 Content access streaming descriptor format. 353
C.3 Abstract content access descriptor format . 354
Annex D (normative) Capability extensions schema . 359
Annex E (normative) Client channel listing format . 362
Annex F (normative) Display model. 366
F.1 Logical plane model . 366
F.2 Interaction with the video/broadcast and A/V Control objects . 367
F.3 Graphic safe area . 368
F.4 Current channel . 368
Annex G (normative) Backwards compatible profile of
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...