Share via


MseSourceBuffer 类

定义

表示 MSE) 源缓冲区 (媒体源扩展。

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
继承
Object Platform::Object IInspectable MseSourceBuffer
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

通过调用 AddSourceBuffer 获取此类的实例。

属性

AppendWindowEnd

获取并设置 append-window-end 间隔。

AppendWindowStart

获取并设置 append-window-start 间隔。

Buffered

获取 MseSourceBuffer 对象的缓冲方式。

IsUpdating

获取一个值,该值指示缓冲区是否正在更新。

Mode

获取并设置 MseSourceBuffer 对象追加缓冲区的方式。

TimestampOffset

获取并设置 MseSourceBuffer 对象的时间戳偏移量。

方法

Abort()

中止 MSE) 源缓冲区 (媒体源扩展。

AppendBuffer(IBuffer)

将缓冲区追加到 MseSourceBuffer 对象。

AppendStream(IInputStream)

将流追加到 MseSourceBuffer 对象。

AppendStream(IInputStream, UInt64)

将流追加到 MseSourceBuffer 对象。

Remove(TimeSpan, IReference<TimeSpan>)

删除指定时间范围内的媒体。

事件

Aborted

中止 MseSourceBuffer 时发生。

ErrorOccurred

MseSourceBuffer 出现错误时发生。

Updated

更新 MseSourceBuffer 时发生。

UpdateEnded

MseSourceBuffer 更新结束时发生。

UpdateStarting

MseSourceBuffer 更新启动时发生。

适用于