ltmmWMProfile.CreateNewStream Method
object.CreateNewStream(StreamType As String) As ltmmWMStreamConfig |
Remarks
Creates a new stream configuration object that can be used to describe a media stream in the profile.
The string passed to this method is a CLSID string. Possible values are:
Type |
String |
Video |
ltmmMEDIATYPE_Video |
Audio |
ltmmMEDIATYPE_Audio |
Script |
ltmmMEDIATYPE_Text |
See the complete list of supported Format Types, Media Types and Media Subtypes.
Please note that creating a new stream does not automatically add it to the profile. The new stream must be created using ltmmWMProfile.CreateNewStream, and then configured using the ltmmWMStreamConfig object methods and properties. The configured stream must then be added to the profile using ltmmWMProfile.AddStream.
For more information, refer to the Microsoft documentation for IWMProfile::CreateNewStream .
Win32, x64
See Also