MseSourceBuffer
MseSourceBuffer
MseSourceBuffer
MseSourceBuffer
Class
Definition
Represents a media source extensions (MSE) source buffer.
public : sealed class MseSourceBuffer : IMseSourceBufferpublic sealed class MseSourceBuffer : IMseSourceBufferPublic NotInheritable Class MseSourceBuffer Implements IMseSourceBuffer// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Get an instance of this class by calling AddSourceBuffer.
Properties
AppendWindowEnd AppendWindowEnd AppendWindowEnd AppendWindowEnd
Gets and sets the append-window-end interval.
public : IReference<TimeSpan> AppendWindowEnd { get; set; }public Nullable<TimeSpan> AppendWindowEnd { get; set; }Public ReadWrite Property AppendWindowEnd As Nullable<TimeSpan>// This API is not available in Javascript.
- Value
- IReference<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan>
The interval value.
AppendWindowStart AppendWindowStart AppendWindowStart AppendWindowStart
Gets and sets the append-window-start interval.
public : TimeSpan AppendWindowStart { get; set; }public TimeSpan AppendWindowStart { get; set; }Public ReadWrite Property AppendWindowStart As TimeSpan// This API is not available in Javascript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The interval value.
Buffered Buffered Buffered Buffered
Gets how the MseSourceBuffer object is buffered.
public : IVectorView<MseTimeRange> Buffered { get; }public IReadOnlyList<MseTimeRange> Buffered { get; }Public ReadOnly Property Buffered As IReadOnlyList<MseTimeRange>// This API is not available in Javascript.
- Value
- IVectorView<MseTimeRange> IReadOnlyList<MseTimeRange> IReadOnlyList<MseTimeRange> IReadOnlyList<MseTimeRange>
The buffered value in terms of a MseTimeRange.
IsUpdating IsUpdating IsUpdating IsUpdating
Gets a value indicating whether the buffer is updating.
public : PlatForm::Boolean IsUpdating { get; }public bool IsUpdating { get; }Public ReadOnly Property IsUpdating As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
True if the buffer is updating; otherwise, false.
Mode Mode Mode Mode
Gets and sets how the MseSourceBuffer object appends a buffer.
public : MseAppendMode Mode { get; set; }public MseAppendMode Mode { get; set; }Public ReadWrite Property Mode As MseAppendMode// This API is not available in Javascript.
A MseAppendMode -typed value that specifies how MseSourceBuffer appends a buffer.
TimestampOffset TimestampOffset TimestampOffset TimestampOffset
Gets and sets the timestamp offset into the MseSourceBuffer object.
public : TimeSpan TimestampOffset { get; set; }public TimeSpan TimestampOffset { get; set; }Public ReadWrite Property TimestampOffset As TimeSpan// This API is not available in Javascript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The timestamp offset value.
Methods
Abort() Abort() Abort() Abort()
Aborts media source extensions (MSE) source buffer.
public : void Abort()public void Abort()Public Function Abort() As void// This API is not available in Javascript.
AppendBuffer(IBuffer) AppendBuffer(IBuffer) AppendBuffer(IBuffer) AppendBuffer(IBuffer)
Appends a buffer to the MseSourceBuffer object.
public : void AppendBuffer(IBuffer buffer)public void AppendBuffer(IBuffer buffer)Public Function AppendBuffer(buffer As IBuffer) As void// This API is not available in Javascript.
AppendStream(IInputStream) AppendStream(IInputStream) AppendStream(IInputStream) AppendStream(IInputStream)
Appends a stream to the MseSourceBuffer object.
public : void AppendStream(IInputStream stream)public void AppendStream(IInputStream stream)Public Function AppendStream(stream As IInputStream) As void// This API is not available in Javascript.
The stream to append.
- See Also
AppendStream(IInputStream, UInt64) AppendStream(IInputStream, UInt64) AppendStream(IInputStream, UInt64) AppendStream(IInputStream, UInt64)
Appends a stream to the MseSourceBuffer object.
public : void AppendStream(IInputStream stream, unsigned __int64 maxSize)public void AppendStream(IInputStream stream, UInt64 maxSize)Public Function AppendStream(stream As IInputStream, maxSize As UInt64) As void// This API is not available in Javascript.
The stream to append.
- maxSize
- unsigned __int64 UInt64 UInt64 UInt64
The maximum size of the stream.
- See Also
Remove(TimeSpan, IReference)
Remove(TimeSpan, IReference)
Remove(TimeSpan, IReference)
Remove(TimeSpan, IReference)
Removes media for the specified time range.
public : void Remove(TimeSpan start, IReference<TimeSpan> end)public void Remove(TimeSpan start, Nullable<TimeSpan> end)Public Function Remove(start As TimeSpan, end As Nullable<TimeSpan>) As void// This API is not available in Javascript.
- start
- TimeSpan TimeSpan TimeSpan TimeSpan
The start of the time range to remove.
- end
- IReference<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan>
The end of the time range to remove.
Events
Aborted Aborted Aborted Aborted
Occurs when the MseSourceBuffer is aborted.
public : event TypedEventHandler Aborted<MseSourceBuffer, object>public event TypedEventHandler Aborted<MseSourceBuffer, object>Public Event Aborted<MseSourceBuffer, object>// This API is not available in Javascript.
ErrorOccurred ErrorOccurred ErrorOccurred ErrorOccurred
Occurs when the MseSourceBuffer has an error.
public : event TypedEventHandler ErrorOccurred<MseSourceBuffer, object>public event TypedEventHandler ErrorOccurred<MseSourceBuffer, object>Public Event ErrorOccurred<MseSourceBuffer, object>// This API is not available in Javascript.
Updated Updated Updated Updated
Occurs when the MseSourceBuffer is updated.
public : event TypedEventHandler Updated<MseSourceBuffer, object>public event TypedEventHandler Updated<MseSourceBuffer, object>Public Event Updated<MseSourceBuffer, object>// This API is not available in Javascript.
UpdateEnded UpdateEnded UpdateEnded UpdateEnded
Occurs when the MseSourceBuffer update has ended.
public : event TypedEventHandler UpdateEnded<MseSourceBuffer, object>public event TypedEventHandler UpdateEnded<MseSourceBuffer, object>Public Event UpdateEnded<MseSourceBuffer, object>// This API is not available in Javascript.
UpdateStarting UpdateStarting UpdateStarting UpdateStarting
Occurs when the MseSourceBuffer update is starting.
public : event TypedEventHandler UpdateStarting<MseSourceBuffer, object>public event TypedEventHandler UpdateStarting<MseSourceBuffer, object>Public Event UpdateStarting<MseSourceBuffer, object>// This API is not available in Javascript.