MediaSource.CreateFromMediaFrameSource(MediaFrameSource) 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 ^ CreateFromMediaFrameSource(MediaFrameSource ^ frameSource);
static MediaSource CreateFromMediaFrameSource(MediaFrameSource const& frameSource);
public static MediaSource CreateFromMediaFrameSource(MediaFrameSource frameSource);
function createFromMediaFrameSource(frameSource)
Public Shared Function CreateFromMediaFrameSource (frameSource As MediaFrameSource) As MediaSource
Parameters
- frameSource
- MediaFrameSource
The AdaptiveMediaSource from which the MediaSource is created.
Returns
The new media source.
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Remarks
For more information on using media frame sources, see Process media frames with MediaFrameReader.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor