AVBlocks for .NET
1.13
Audio and Video Software Development Kit
|
MediaPin represents an elementary media stream. More...
Properties | |
int | Connection [get, set] |
Pin ID. More... | |
StreamInfo | StreamInfo [get, set] |
Information about the elementary stream represented by this pin. More... | |
IDictionary< string, object > | Params [get, set] |
A collection of pin parameters. 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.
|
getset |
Pin 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 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.