Share via


MseSourceBuffer Class

Definition

Represents a media source extensions (MSE) source buffer.

public ref class MseSourceBuffer sealed
/// [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 MseSourceBuffer final
[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 MseSourceBuffer
Public NotInheritable Class MseSourceBuffer
Inheritance
Object Platform::Object IInspectable MseSourceBuffer
Attributes

Windows requirements

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

Remarks

Get an instance of this class by calling AddSourceBuffer.

Properties

AppendWindowEnd

Gets and sets the append-window-end interval.

AppendWindowStart

Gets and sets the append-window-start interval.

Buffered

Gets how the MseSourceBuffer object is buffered.

IsUpdating

Gets a value indicating whether the buffer is updating.

Mode

Gets and sets how the MseSourceBuffer object appends a buffer.

TimestampOffset

Gets and sets the timestamp offset into the MseSourceBuffer object.

Methods

Abort()

Aborts media source extensions (MSE) source buffer.

AppendBuffer(IBuffer)

Appends a buffer to the MseSourceBuffer object.

AppendStream(IInputStream, UInt64)

Appends a stream to the MseSourceBuffer object.

AppendStream(IInputStream)

Appends a stream to the MseSourceBuffer object.

Remove(TimeSpan, IReference<TimeSpan>)

Removes media for the specified time range.

Events

Aborted

Occurs when the MseSourceBuffer is aborted.

ErrorOccurred

Occurs when the MseSourceBuffer has an error.

Updated

Occurs when the MseSourceBuffer is updated.

UpdateEnded

Occurs when the MseSourceBuffer update has ended.

UpdateStarting

Occurs when the MseSourceBuffer update is starting.

Applies to