Udostępnij za pośrednictwem


Windows.Media.Core Namespace

Contains core media APIs that are used by several different features related to media playback.

Classes

AudioStreamDescriptor

Represents a description an audio media stream.

AudioTrack

Represents an audio track.

AudioTrackOpenFailedEventArgs

Provides data for the OpenFailed event of an AudioTrack.

AudioTrackSupportInfo

Provides support information for an AudioTrack. This information includes the status of the audio decoder, information about any audio degradation applied by the decoder, and the status of the MediaSource with which the audio track is associated.

ChapterCue

Represents a chapter cue that can be included in a TimedMetadataTrack.

CodecInfo

Provides information about a media codec that is installed on the system.

CodecQuery

Provides the FindAllAsync method which allows you to enumerate all media codecs installed on the system.

CodecSubtypes

Provides properties for most supported media subtypes that return the string representation of the GUID for the subtype. Use these property values to filter a query performed with CodecQuery.FindAllAsync. You can also compare the values returned by these properties to the values in the Subtypes collection of a CodecInfo object to determine if a codec supports a particular media subtype.

DataCue

Represents a data cue that can be included in a TimedMetadataTrack.

FaceDetectedEventArgs

Provides data for the FaceDetected event.

FaceDetectionEffect

Represents an effect that attempts to detect faces in a video stream.

FaceDetectionEffectDefinition

Represents the definition of a face detection video effect.

FaceDetectionEffectFrame

Represents a video frame that includes a list of faces detected by the FaceDetectionEffect.

HighDynamicRangeControl

Provides the ability to enable and disable High Dynamic Range (HDR) analysis for the SceneAnalysisEffect.

HighDynamicRangeOutput

Provides the results of a High Dynamic Range (HDR) analysis operation from the SceneAnalysisEffect.

ImageCue

Represents a image cue that can be included in a TimedMetadataTrack.

InitializeMediaStreamSourceRequestedEventArgs

Provides data for the InitializeMediaStreamSourceRequested event.

LowLightFusion

This class allows you to submit a set of image frames, captured in low-light settings and in close temporal proximity, and receieve a single image that has been processed to improve image lighting and fidelity.

LowLightFusionResult

Represents the result of a low-light fusion operation initiated with a call to FuseAsync.

MediaBinder

Enables deferred binding of media content associated with a MediaSource.

Use this class for media content that you don't want to bind to a MediaSource object until a media player is about to actually play the content. A typical scenario for this is playing content that requires payment when it is accessed.

MediaBindingEventArgs

Provides data for the Binding event and methods for binding media content to the associated MediaSource.

MediaCueEventArgs

Provides data for the TimedMetadataTrack.CueEntered and TimedMetadataTrack.CueExited events.

MediaSource

Represents a media source. Provides a common way to reference media from different sources and exposes a common model for accessing media data regardless of the underlying media format.

MediaSourceAppServiceConnection

Enables the implementation of an app service that provides a custom media source that can be consumed by UWP apps.

MediaSourceError

Represents an error that occurred with a MediaSource.

MediaSourceOpenOperationCompletedEventArgs

Provides data for the MediaSource.MediaSourceOpenOperationCompleted event.

MediaSourceStateChangedEventArgs

Provides data for the StateChanged event of a MediaSource object.

MediaStreamSample

Represents a media sample used by the MediaStreamSource.

MediaStreamSamplePropertySet

Contains properties for the MediaStreamSample.

MediaStreamSampleProtectionProperties

Represents a collection properties that are specific to the Digital Rights Management (DRM) protection of the MediaStreamSample.

MediaStreamSource

Represents a media source that delivers media samples directly to the media pipeline.

MediaStreamSourceClosedEventArgs

Provides data for the MediaStreamSource.Closed event.

MediaStreamSourceClosedRequest

Represents an object to be used by the MediaStreamSource.closed event to provide information to the application.

MediaStreamSourceSampleRenderedEventArgs

Provides data for the MediaStreamSource.SampleRendered event, which occurs when a sample from a MediaStreamSource is rendered. Use SampleLag property to determine if there is a lag in the rendering of a sample, in which case you may decide to switch to a lower-bandwidth stream.

MediaStreamSourceSampleRequest

Represents an object to be used by the MediaStreamSource.SampleRequest event to provide information to the application.

MediaStreamSourceSampleRequestDeferral

Provides a way for the application to asynchronously report that it has completed retrieving the MediaStreamSample.

MediaStreamSourceSampleRequestedEventArgs

Provides the data for the SampleRequested event.

MediaStreamSourceStartingEventArgs

Provides data for the MediaStreamSource.Starting event.

MediaStreamSourceStartingRequest

Represents a request from the MediaStreamSource.Starting event for the application to start accumulating MediaStreamSample objects from a specific position in the media.

MediaStreamSourceStartingRequestDeferral

Provides a way for the application to asynchronously report that it has completed processing the MediaStreamSource.Starting event.

MediaStreamSourceSwitchStreamsRequest

Represents an object to be used by the MediaStreamSource.SwitchStreamsRequest event to provide information to the application.

MediaStreamSourceSwitchStreamsRequestDeferral

Provides a way for the application to asynchronously report that it has completed the MediaStreamSource.SwitchStreamsRequested event.

MediaStreamSourceSwitchStreamsRequestedEventArgs

Provides data for the MediaStreamSource.SwitchStreamsRequested event.

MseSourceBuffer

Represents a media source extensions (MSE) source buffer.

MseSourceBufferList

Represents a list of media source extensions (MSE) source buffers.

MseStreamSource

Represents a media source extensions (MSE) stream source.

SceneAnalysisEffect

Represents an effect that analyzes video frames to determine if any of the supported variable photo sequence capture techniques may produce a higher-quality captured image.

SceneAnalysisEffectDefinition

Represents the definition of a scene analysis video effect.

SceneAnalysisEffectFrame

Represents a video frame that includes the results of the scene analysis operation.

SceneAnalyzedEventArgs

Provides data for the SceneAnalysisEffect.SceneAnalyzed event.

SpeechCue

Represents a speech cue that can be included in a TimedMetadataTrack. This cue can be used to receive events based on metadata included in a text-to-speech (TTS) stream, such as word boundaries, sentence boundaries, and Speech Sythesis Markup Language (SSML) bookmarks.

TimedMetadataStreamDescriptor

Represents a description a timed metada media stream.

TimedMetadataTrack

Represents a timed metadata track. The track contains a list of IMediaCue objects and raises events at the beginning and end of the time window of each cue.

TimedMetadataTrackError

Provides information about an error that occurred with a timed metadata track.

TimedMetadataTrackFailedEventArgs

Provides data for the TimedMetadataTrack.TrackFailed event.

TimedTextBouten

Represents a bouten mark associated with a line of timed text.

TimedTextCue

Represents a text cue in a TimedMetadataTrack.

TimedTextLine

Represents a line of text that is displayed with a TimedTextCue.

TimedTextRegion

Exposes properties for customizing the appearance of the rendering area of a TimedTextCue.

TimedTextRuby

Represents a block of ruby text associated with a line of timed text.

TimedTextSource

Represents a source of timed text data.

TimedTextSourceResolveResultEventArgs

Provides data for the TimedTextSource.Resolved event.

TimedTextStyle

Defines the style of the rendered text in a TimedTextCue. You can set the style of a substring within a TimedTextLine by using the Subformats property.

TimedTextSubformat

Defines a TimedTextStyle for a substring in a TimedTextLine. of the cue, which defines the style of the rendered text.

VideoStabilizationEffect

Represents an effect that stabilizes a video stream.

VideoStabilizationEffectDefinition

Represents the definition of a video stabilization effect.

VideoStabilizationEffectEnabledChangedEventArgs

Provides data for the VideoStabilizationEffect.EnabledChanged event.

VideoStreamDescriptor

Represents a description a video media stream.

VideoTrack

Represents a video track.

VideoTrackOpenFailedEventArgs

Provides data for the OpenFailed event of a VideoTrack.

VideoTrackSupportInfo

Provides support information for a VideoTrack. This information includes the status of the video decoder and the status of the MediaSource with which the video track is associated.

Structs

MseTimeRange

Describes the start and end of a time range.

TimedTextDouble

Represents a floating point value that is used to convey the values of timed text style properties.

TimedTextPadding

Represents the size of padding around a timed text region.

TimedTextPoint

Represents 2D coordinate that is used to convey the values of timed text style properties.

TimedTextSize

Represents a size that is used to convey the values of timed text style properties.

Interfaces

IMediaCue

Defines the interface implemented by all media cues.

IMediaSource

Represents a media source that delivers media samples to a media pipeline.

IMediaStreamDescriptor

Defines an interface implemented by a audio or video stream descriptor.

IMediaStreamDescriptor2

Defines an interface implemented by a audio or video stream descriptor.

IMediaTrack

Defines the interface implemented by media tracks.

ISingleSelectMediaTrackList

Represents a media track list that allows a single item to be selected at a time.

ITimedMetadataTrackProvider

Defines the interface implemented by a custom stream that provides metadata tracks.

Enums

AudioDecoderDegradation

Specifies the type of degredation, if any, applied to an AudioTrack by the audio decoder.

AudioDecoderDegradationReason

Specifies the reason that the audio decoder degraded an AudioTrack.

CodecCategory

Specifies the category of a codec.

CodecKind

Specifies whether a codec operates on audio or video data.

FaceDetectionMode

Specifies the mode used for face detection.

MediaDecoderStatus

Specifies the status of a media decoder when decoding a media item.

MediaSourceState

Specifies the state of a MediaSource.

MediaSourceStatus

Specifies the status of a MediaSource when opening media items associated with the source.

MediaStreamSourceClosedReason

Specifies the reason why a MediaStreamSource was closed.

MediaStreamSourceErrorStatus

Specifies errors related to MediaStreamSource.

MediaTrackKind

Specifies the type of a media track.

MseAppendMode

Specifies how a MseSourceBuffer object appends a buffer.

MseEndOfStreamStatus

Specifies the status at the end of stream.

MseReadyState

Specifies the ready state of a MseStreamSource object.

SceneAnalysisRecommendation

Specifies the recommended image processing to improve image quality and fidelity of captured images based on the current capture conditions, as determined by the SceneAnalysisEffect.

TimedMetadataKind

Specifies the types of metadata that may be present in a TimedMetadataTrack.

TimedMetadataTrackErrorCode

Specifies the type of error that occurred with a TimedMetadataTrack.

TimedTextBoutenPosition

Specifies the position of a bouten mark in the block progression dimension with respect to its associated ruby base.

TimedTextBoutenType

Specifies the type of bouten mark to be rendered in timed text.

TimedTextDisplayAlignment

Specifies the alignment of a TimedTextRegion relative to the video frame.

TimedTextFlowDirection

Specifies the direction timed text is flowed.

TimedTextFontStyle

Specifies the font styles that can be used for the display timed text.

TimedTextLineAlignment

Specifies the alignment of a TimedTextLine relative to the TimedTextRegion in which it is displayed.

TimedTextRubyAlign

Specifies the position of ruby text within the inline area generated by the ruby text container annotation.

TimedTextRubyPosition

Specifies the position of ruby text in the block progression dimension with respect to its associated ruby base.

TimedTextRubyReserve

Specifies additional space to apply to affected line areas in order to reserve sufficient room in the block progression dimension to contain inline areas generated by ruby text containers placed within the bounds of the line areas.

TimedTextScrollMode

Specifies the method in which lines of text scroll through the region.

TimedTextUnit

Specifies the units in which timed a timed text style value is expressed.

TimedTextWeight

Specifies the weight of timed text.

TimedTextWrapping

Specifies the wrapping behavior of timed text.

TimedTextWritingMode

Specifies the direction timed text is written.

VideoStabilizationEffectEnabledChangedReason

Specifies the reason why the VideoStabilizationEffect.Enabled property changed.

See also