MseStreamSource MseStreamSource MseStreamSource MseStreamSource Class

Definition

Represents a media source extensions (MSE) stream source.

public : sealed class MseStreamSource : IMediaSource
struct winrt::Windows::Media::Core::MseStreamSource : IMediaSource
public sealed class MseStreamSource : IMediaSource
Public NotInheritable Class MseStreamSource Implements IMediaSource
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Version history

Windows version SDK version Value added
1709 16299 LiveSeekableRange

Constructors

MseStreamSource() MseStreamSource() MseStreamSource() MseStreamSource()

Instantiates a new instance of an uninitialized MseStreamSource.

Properties

ActiveSourceBuffers ActiveSourceBuffers ActiveSourceBuffers ActiveSourceBuffers

Gets the list of media source extensions (MSE) source buffers that are active on the stream source.

Duration Duration Duration Duration

Gets and sets the duration of the stream source.

LiveSeekableRange LiveSeekableRange LiveSeekableRange LiveSeekableRange

Gets or sets the seekable time range for a Media Source Extension.

ReadyState ReadyState ReadyState ReadyState

Gets a value that specifies the ready state of the MseStreamSource.

SourceBuffers SourceBuffers SourceBuffers SourceBuffers

Gets the list of media source extensions (MSE) source buffers on the stream source.

Methods

AddSourceBuffer(String) AddSourceBuffer(String) AddSourceBuffer(String) AddSourceBuffer(String)

Adds a source buffer to the stream source.

EndOfStream(MseEndOfStreamStatus) EndOfStream(MseEndOfStreamStatus) EndOfStream(MseEndOfStreamStatus) EndOfStream(MseEndOfStreamStatus)

Specifies the status at the end of stream.

IsContentTypeSupported(String) IsContentTypeSupported(String) IsContentTypeSupported(String) IsContentTypeSupported(String)

Specifies whether a content type is supported.

RemoveSourceBuffer(MseSourceBuffer) RemoveSourceBuffer(MseSourceBuffer) RemoveSourceBuffer(MseSourceBuffer) RemoveSourceBuffer(MseSourceBuffer)

Removes a source buffer from the stream source.

Events

Closed Closed Closed Closed

Occurs when the MseStreamSource is closed.

Ended Ended Ended Ended

Occurs when the MseStreamSource is ended.

Opened Opened Opened Opened

Occurs when the MseStreamSource is opened.

See also