Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LiveEventInput 类

定义

实时事件输入。

public class LiveEventInput
type LiveEventInput = class
Public Class LiveEventInput
继承
LiveEventInput

构造函数

LiveEventInput()

初始化 LiveEventInput 类的新实例。

LiveEventInput(LiveEventInputProtocol, LiveEventInputAccessControl, String, String, IList<LiveEventEndpoint>)

初始化 LiveEventInput 类的新实例。

属性

AccessControl

获取或设置实时事件输入的访问控制。

AccessToken

获取或设置字符串形式的 UUID,以唯一标识流。 这可以在创建时指定,但不能更新。 如果省略,服务将生成唯一值。

Endpoints

获取或设置实时事件的输入终结点。

KeyFrameIntervalDuration

获取或设置输入的关键帧间隔持续时间的 ISO 8601 持续时间。 此值设置 HLS 输出中的 EXT-X-TARGETDURATION 属性。 例如,使用 PT2S 指示 2 秒。 将值留空,以便对实时事件进行编码。

StreamingProtocol

获取或设置实时事件的输入协议。 这是在创建时指定的,无法更新。 可能的值包括:“FragmentedMP4”、“RTMP”

方法

Validate()

验证 对象。

适用于