mediaFoundationReaderSetStreamSelection

Typecommand
DictionaryLCS
Librarymediafoundation
Syntax
mediaFoundationReaderSetStreamSelection <pFilePath>, <pStreamIndex>, <pSelected>
Associationsmediafoundation
Summary

Set the stream selection Platform:desktop

OSwindows
Parameters
NameTypeDescription
pFilePath

The path to a media file

pStreamIndex

An integer between 1 and the number of streams

pSelected

The value to set the stream selection to

RelatedCommand: mediaFoundationTranscode, mediaFoundationCreateReader
Description

The reader must already be created with mediaFoundationCreateReader.

Note:See the mediaFoundationTranscode documentation for a complete example of using this handler.