Share via


MediaSource.CreateFromAdaptiveMediaSource(AdaptiveMediaSource) Method

Definition

Creates an instance of MediaSource from the provided AdaptiveMediaSource.

public:
 static MediaSource ^ CreateFromAdaptiveMediaSource(AdaptiveMediaSource ^ mediaSource);
 static MediaSource CreateFromAdaptiveMediaSource(AdaptiveMediaSource const& mediaSource);
public static MediaSource CreateFromAdaptiveMediaSource(AdaptiveMediaSource mediaSource);
function createFromAdaptiveMediaSource(mediaSource)
Public Shared Function CreateFromAdaptiveMediaSource (mediaSource As AdaptiveMediaSource) As MediaSource

Parameters

mediaSource
AdaptiveMediaSource

The AdaptiveMediaSource from which the MediaSource is created.

Returns

The new media source.

Applies to