Click or drag to resize
DecoderConfigurationFactoryCreateVideoConfiguration Method
Creates video configuration based on TrackInfo.

Namespace: StreamCoders.Decoder
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static VideoDecoderConfiguration CreateVideoConfiguration(
	TrackInfo track
)

Parameters

track
Type: StreamCodersTrackInfo
The track.

Return Value

Type: VideoDecoderConfiguration
The new video configuration. If the codec is unknown a NotSupportedException is thrown.
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the requested operation is invalid.
NotSupportedException Thrown when the requested codec is not supported.
See Also