The Stream Properties Object defines the specific properties and characteristics of a digital media stream. This object defines how a digital media stream within the Data Object is interpreted, as well as the specific format (of elements) of the Data Packet itself.
Whereas every stream in an ASF presentation, including each stream in a mutual exclusion relationship, must be represented by a Stream Properties Object, in certain cases, this object might be found embedded in the Extended Stream Properties Object.
Located in /ASF/Object/StreamProperties.php (line 60)
ASF_Object | --ASF_Object_StreamProperties
Constructs the class with given parameters and reads object related data from the ASF file.
Returns data specific to the error correction type. The structure for the
Error Correction Data field is determined by the value stored in the Error Correction Type field. For example, an audio data stream might need to know how codec chunks were redistributed, or it might need a sample of encoded silence.
The error correction type-specific data is returned as key-value pairs of an associate array.
Returns the error correction type used by this digital media stream. For streams other than audio, this value should be set to NO_ERROR_CORRECTION.
For audio streams, this value should be set to AUDIO_SPREAD.
Returns the flags field.
Returns the number of this stream. 0 is an invalid stream. Valid values are between 1 and 127. The numbers assigned to streams in an ASF presentation may be any combination of unique values; parsing logic must not assume that streams are numbered sequentially.
Returns the type of the stream (for example, audio, video, and so on).
Returns the presentation time offset of the stream in 100-nanosecond units.
The value of this field is added to all of the timestamps of the samples in the stream. This value shall be equal to the send time of the first interleaved packet in the data section. The value of this field is typically 0. It is non-zero in the case when an ASF file is edited and it is not possible for the editor to change the presentation times and send times of ASF packets. Note that if more than one stream is present in an ASF file the offset values of all stream properties objects must be equal.
Returns type-specific format data. The structure for the Type-Specific Data field is determined by the value stored in the Stream Type field.
The type-specific data is returned as key-value pairs of an associate array.
Checks whether or not the flag is set. Returns true if the flag is set, false otherwise.
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()
Indicates, if set, that the data contained in this stream is encrypted and will be unreadable unless there is a way to decrypt the stream.
Documentation generated on Fri, 05 Sep 2008 20:19:28 +0300 by phpDocumentor 1.4.1