AddStreamDescriptor | addStreamDescriptor method

MediaStreamSource.AddStreamDescriptor | addStreamDescriptor method

Adds a new stream descriptor to the MediaStreamSource.

Syntax


Public Sub AddStreamDescriptor(
  descriptor As IMediaStreamDescriptor 
)

Parameters

descriptor

Type: 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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.winmd

See also

MediaStreamSource

 

 

Show:
© 2016 Microsoft