MediaSource.CreateFromAdaptiveMediaSource(AdaptiveMediaSource) 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.
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.