Class ASF_Object_StreamPrioritization

Description

The Stream Prioritization Object indicates the author's intentions as

to which streams should or should not be dropped in response to varying network congestion situations. There may be special cases where this preferential order may be ignored (for example, the user hits the "mute" button). Generally it is expected that implementations will try to honor the author's preference.

The priority of each stream is indicated by how early in the list that stream's stream number is listed (in other words, the list is ordered in terms of decreasing priority).

The Mandatory flag field shall be set if the author wants that stream kept "regardless". If this flag is not set, then that indicates that the stream should be dropped in response to network congestion situations. Non-mandatory streams must never be assigned a higher priority than mandatory streams.

Located in /ASF/Object/StreamPrioritization.php (line 66)

ASF_Object
   |
   --ASF_Object_StreamPrioritization
Method Summary
ASF_Object_StreamPrioritization __construct (Reader $reader, [ &$options = array()], Array $options)
Variables

Inherited Variables

Inherited from ASF_Object

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

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

  • access: public
ASF_Object_StreamPrioritization __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.
getPriorityRecords (line 98)

Returns an array of records. Each record consists of the following keys.

  • streamNumber -- Specifies the stream number. Valid values are between 1 and 127.
  • flags -- Specifies the flags. The mandatory flag is the bit 1 (LSB).

  • access: public
Array getPriorityRecords ()

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:19:27 +0300 by phpDocumentor 1.4.1