ltmmMediaInfo.StreamDuration Property

Visual Basic Example

Syntax

object.StreamDuration As Long

Remarks

(Read only) This property is updated with the duration of the current stream in the source media file, in seconds. This duration time is based on normal playback speed. Changing the playback rate does not affect the duration. This property is updated automatically when the ltmmMediaInfo.CurrentStream property is set to the current stream.

The number of the current stream can be found in the ltmmMediaInfo.CurrentStream property. To change the current stream, set the ltmmMediaInfo.CurrentStream property to the new value. Once the current stream has been set, the following properties are updated with information about the current stream:

ltmmMediaInfo.StreamDuration property

ltmmMediaInfo.StreamMediaType property

ltmmMediaInfo.StreamSubtype property

ltmmMediaInfo.StreamSubtypeName property

ltmmMediaInfo.StreamType property

ltmmMediaInfo.StreamTypeName property

See Also

Elements:

ltmmMediaInfo.CurrentStream property, ltmmMediaInfo.StreamMediaType property, ltmmMediaInfo.StreamSubtype property, ltmmMediaInfo.StreamSubtypeName property, ltmmMediaInfo.StreamType property, ltmmMediaInfo.StreamTypeName property, ltmmMediaInfo.OutputStreams property, ltmmMediaInfo.SourceDuration property

Topics:

Multimedia Properties, Methods and Events,
Media File Information