Delen via


MseStreamSource Class

Definition

Represents a media source extensions (MSE) stream source.

public ref class MseStreamSource sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MseStreamSource final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class MseStreamSource final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MseStreamSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MseStreamSource
Public NotInheritable Class MseStreamSource
Inheritance
Object Platform::Object IInspectable MseStreamSource
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Version history

Windows version SDK version Value added
1709 16299 LiveSeekableRange

Constructors

MseStreamSource()

Instantiates a new instance of an uninitialized MseStreamSource.

Properties

ActiveSourceBuffers

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

Duration

Gets and sets the duration of the stream source.

LiveSeekableRange

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

ReadyState

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

SourceBuffers

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

Methods

AddSourceBuffer(String)

Adds a source buffer to the stream source.

EndOfStream(MseEndOfStreamStatus)

Specifies the status at the end of stream.

IsContentTypeSupported(String)

Specifies whether a content type is supported.

RemoveSourceBuffer(MseSourceBuffer)

Removes a source buffer from the stream source.

Events

Closed

Occurs when the MseStreamSource is closed.

Ended

Occurs when the MseStreamSource is ended.

Opened

Occurs when the MseStreamSource is opened.

Applies to

See also