DecoderConfigurationFactoryCreateVideoConfiguration Method |
Creates video configuration based on TrackInfo.
Namespace: StreamCoders.DecoderAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic static VideoDecoderConfiguration CreateVideoConfiguration(
TrackInfo track
)
Public Shared Function CreateVideoConfiguration (
track As TrackInfo
) As VideoDecoderConfiguration
public:
static VideoDecoderConfiguration^ CreateVideoConfiguration(
TrackInfo^ track
)
static member CreateVideoConfiguration :
track : TrackInfo -> VideoDecoderConfiguration
Parameters
- track
- Type: StreamCodersTrackInfo
The track.
Return Value
Type:
VideoDecoderConfiguration
The new video configuration. If the codec is unknown a
NotSupportedException is thrown.
ExceptionsException | Condition |
---|
InvalidOperationException |
Thrown when the requested operation is invalid.
|
NotSupportedException |
Thrown when the requested codec is not supported.
|
See Also