Share via


AppBroadcastStreamVideoFrame 类

定义

表示广播流中的视频帧。

注意

此 API 需要 appBroadcastappBroadcastSettings 功能,此功能并非对所有 Windows 应用都可用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对此 API 的调用将在运行时失败。

public ref class AppBroadcastStreamVideoFrame sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastStreamVideoFrame final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastStreamVideoFrame
Public NotInheritable Class AppBroadcastStreamVideoFrame
继承
Object Platform::Object IInspectable AppBroadcastStreamVideoFrame
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.15063.0 中引入)
API contract
Windows.Media.Capture.AppBroadcastContract (在 v1.0 中引入)
应用功能
appBroadcast appBroadcastSettings

注解

通过调用 AppBroadcastStreamReader.TryGetNextVideoFrame 获取此类的实例

属性

VideoBuffer

获取包含广播音频帧的图像数据的缓冲区。

VideoHeader

获取一个 对象,该对象包含有关关联的广播视频帧的元数据。

适用于