MediaStreamSource.AddStreamDescriptor(IMediaStreamDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new stream descriptor to the MediaStreamSource.
public:
virtual void AddStreamDescriptor(IMediaStreamDescriptor ^ descriptor) = AddStreamDescriptor;
void AddStreamDescriptor(IMediaStreamDescriptor const& descriptor);
public void AddStreamDescriptor(IMediaStreamDescriptor descriptor);
function addStreamDescriptor(descriptor)
Public Sub AddStreamDescriptor (descriptor As IMediaStreamDescriptor)
Parameters
- descriptor
- IMediaStreamDescriptor
The descriptor to add.
Remarks
This method can only be invoked when the MediaStreamSource is not yet in use by the media pipeline, for example by a video object, a MediaElement, or a MediaTranscoder.
It is possible to invoke this method multiple times.