AVBlocks for .NET
1.21
Audio and Video Software Development Kit
|
MediaPin represents an elementary media stream. More...
Public Member Functions | |
virtual object | Clone () |
Creates a deep copy of this object. More... | |
Properties | |
int | Connection [get, set] |
Connection ID. More... | |
IDictionary< string, object > | Params [get, set] |
A collection of pin parameters. More... | |
StreamInfo | StreamInfo [get, set] |
Information about the elementary stream represented by this pin. More... | |
MediaPin represents an elementary media stream.
MediaPin object can exist for audio, video or any other type of stream. However, AVBlocks can process only the audio and video streams.
MediaPin objects are used as inputs and outputs of Transcoder.
|
virtual |
Creates a deep copy of this object.
System.OutOfMemoryException | The object cannot be cloned because there's not enough memory. |
References MediaPin.Clone().
Referenced by MediaPin.Clone().
|
getset |
Connection ID.
This should not be confused with the stream ID that is defined for certain stream types.
A Transcoder object matches and connects input and output pins by their connection ID. The Transcoder processes the connected pins and ignores the unconnected pins.
Pins are connected to one another according to the following rules:
Transcoder Class
PinConnection constants
|
getset |
|
getset |
Information about the elementary stream represented by this pin.
The Transcoder ignores pins that are not audio or video elementary streams. If the value of StreamInfo.MediaType is MediaType.Audio, it is safe to cast this property to AudioStreamInfo. If the media type is MediaType.Video, it is safe to cast this property to VideoStreamInfo.