AVBlocks for .NET
1.13
Audio and Video Software Development Kit
|
Provides properties and operations that are common for all elementary streams. More...
Inherits ICloneable.
Inherited by AudioStreamInfo, and VideoStreamInfo.
Public Member Functions | |
virtual object | Clone () |
Creates a deep copy of this object. More... | |
virtual void | Reset () |
Resets the stream information to its default state. More... | |
Properties | |
MediaType | MediaType [get, set] |
Media type. More... | |
StreamType | StreamType [get, set] |
The stream type. More... | |
StreamSubType | StreamSubType [get, set] |
The stream subtype. More... | |
double | Duration [get, set] |
The stream duration in seconds. More... | |
int | ID [get, set] |
The ID of the elementary stream. More... | |
int | Bitrate [get, set] |
The stream bitrate expressed in bits per second. More... | |
BitrateMode | BitrateMode [get, set] |
The stream bitrate mode. More... | |
Provides properties and operations that are common for all elementary streams.
AudioStreamInfo and VideoStreamInfo inherit from this class.
|
virtual |
Creates a deep copy of this object.
When the object is cloned the full underlying object is copied.
For example if a StreamInfo object is actually an instance of AudioStreamInfo and is cloned, the new object is also an instance of AudioStreamInfo.
|
virtual |
Resets the stream information to its default state.
The full underlying object is reset. The media type of the stream is not changed.
Reimplemented in VideoStreamInfo, and AudioStreamInfo.
|
getset |
The stream bitrate expressed in bits per second.
|
getset |
The stream bitrate mode.
|
getset |
The stream duration in seconds.
|
getset |
The ID of the elementary stream.
Media type.
The media type of a StreamInfo object cannot be changed.
If the media type is MediaType.Audio this StreamInfo object can be safely cast to AudioStreamInfo.
If the media type is MediaType.Video this StreamInfo object can be safely cast to VideoStreamInfo.
|
getset |
The stream subtype.
|
getset |
The stream type.