Share via


MediaSource.CreateFromMseStreamSource(MseStreamSource) Method

Definition

Creates an instance of MediaSource from the provided MseStreamSource.

public:
 static MediaSource ^ CreateFromMseStreamSource(MseStreamSource ^ mediaSource);
 static MediaSource CreateFromMseStreamSource(MseStreamSource const& mediaSource);
public static MediaSource CreateFromMseStreamSource(MseStreamSource mediaSource);
function createFromMseStreamSource(mediaSource)
Public Shared Function CreateFromMseStreamSource (mediaSource As MseStreamSource) As MediaSource

Parameters

mediaSource
MseStreamSource

The MediaStreamSource from which the MediaSource is created.

Returns

The new media source.

Applies to