Class ASF_Object_Data

Description

The Data Object contains all of the Data Packets for a file.

These Data Packets are organized in terms of increasing send times. A Data Packet can contain interleaved data from several digital media streams. This data can consist of entire objects from one or more streams. Alternatively, it can consist of partial objects (fragmentation).

Capabilities provided within the interleave packet definition include:

  • Single or multiple payload types per Data Packet
  • Fixed-size Data Packets
  • Error correction information (optional)
  • Clock information (optional)
  • Redundant sample information, such as presentation time stamp (optional)

  • author: Sven Vollbehr <svollbehr@gmail.com>
  • version: $Rev: 108 $
  • copyright: Copyright (c) 2008 The PHP Reader Project Workgroup
  • todo: Implement optional support for ASF Data Packet parsing
  • license: New BSD License

Located in /ASF/Object/Data.php (line 65)

ASF_Object
   |
   --ASF_Object_Data
Method Summary
ASF_Object_Data __construct (Reader $reader, [ &$options = array()], Array $options)
Array getDataPackets ()
string getFileId ()
integer getTotalDataPackets ()
Variables

Inherited Variables

Inherited from ASF_Object

ASF_Object::$_options
ASF_Object::$_reader
Methods
Constructor __construct (line 83)

Constructs the class with given parameters and reads object related data from the ASF file.

  • access: public
ASF_Object_Data __construct (Reader $reader, [ &$options = array()], Array $options)
  • Reader $reader: The reader object.
  • Array $options: The options array.
  • &$options

Redefinition of:
ASF_Object::__construct()
Constructs the class with given parameters and options.
getDataPackets (line 122)

Returns an array of Data Packets.

  • access: public
Array getDataPackets ()
getFileId (line 105)

Returns the unique identifier for this ASF file. The value of this field is changed every time the file is modified in any way. The value of this field is identical to the value of the File ID field of the Header Object.

  • access: public
string getFileId ()
getTotalDataPackets (line 115)

Returns the number of ASF Data Packet entries that exist within the Data Object. It must be equal to the Data Packet Count field in the File Properties Object. The value of this field is invalid if the broadcast flag field of the File Properties Object is set to 1.

  • access: public
integer getTotalDataPackets ()

Inherited Methods

Inherited From ASF_Object

ASF_Object::__construct()
ASF_Object::getIdentifier()
ASF_Object::getOffset()
ASF_Object::getOption()
ASF_Object::getOptions()
ASF_Object::getParent()
ASF_Object::getSize()
ASF_Object::setIdentifier()
ASF_Object::setOffset()
ASF_Object::setOption()
ASF_Object::setOptions()
ASF_Object::setParent()
ASF_Object::setSize()
ASF_Object::__get()
ASF_Object::__set()

Documentation generated on Fri, 05 Sep 2008 20:18:29 +0300 by phpDocumentor 1.4.1