Sun Microsystems 2.1 manual A TOC file is described with the following structures

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 158
Image 158

A TOC file is described with the following structures:

content ContentObjects ContentObjects ::= SEQUENCE

{

title GraphicString,

version GraphicString,

format GraphicsString, description GraphicStringOPTIONAL,

bitstreams BitStreamObjects

}

BitStreamObjects ::= SEQUENCE

{

description

GraphicStringOPTIONAL,

speed

INTEGER,

bitrate

INTEGER,

indexfile

GraphicString,

indexsize

INTEGER,

datafile

DataFileObjects

}

DataFileObjects ::= SEQUENCE

{

segment

INTEGER,

filepath

GraphicString,

filesize

INTEGER

}

Some rules regarding the encoding of a TOC file:

TOC files themselves are assignments to the types declared above.

All INTEGERs are represented as decimal values. These are all 32-bit values, unless other noted in this document.

All strings are expressed as a single value enclosed by a pair of double quotation marks. No concatenation of strings is allowed.

The following subsections describe the components and properties of a content package.

B-4Sun MediaCenter Server Administrator’s Guide • December 1997

Page 158
Image 158
Sun Microsystems 2.1 manual A TOC file is described with the following structures