你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LiveEventInput 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
LiveEventInput() |
初始化 LiveEventInput 类的新实例。 |
LiveEventInput(LiveEventInputProtocol, LiveEventInputAccessControl, String, String, IList<LiveEventEndpoint>) |
初始化 LiveEventInput 类的新实例。 |
LiveEventInput()
初始化 LiveEventInput 类的新实例。
public LiveEventInput ();
Public Sub New ()
适用于
LiveEventInput(LiveEventInputProtocol, LiveEventInputAccessControl, String, String, IList<LiveEventEndpoint>)
初始化 LiveEventInput 类的新实例。
public LiveEventInput (Microsoft.Azure.Management.Media.Models.LiveEventInputProtocol streamingProtocol, Microsoft.Azure.Management.Media.Models.LiveEventInputAccessControl accessControl = default, string keyFrameIntervalDuration = default, string accessToken = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.LiveEventEndpoint> endpoints = default);
new Microsoft.Azure.Management.Media.Models.LiveEventInput : Microsoft.Azure.Management.Media.Models.LiveEventInputProtocol * Microsoft.Azure.Management.Media.Models.LiveEventInputAccessControl * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.LiveEventEndpoint> -> Microsoft.Azure.Management.Media.Models.LiveEventInput
Public Sub New (streamingProtocol As LiveEventInputProtocol, Optional accessControl As LiveEventInputAccessControl = Nothing, Optional keyFrameIntervalDuration As String = Nothing, Optional accessToken As String = Nothing, Optional endpoints As IList(Of LiveEventEndpoint) = Nothing)
参数
- streamingProtocol
- LiveEventInputProtocol
实时事件的输入协议。 这是在创建时指定的,无法更新。 可能的值包括:“FragmentedMP4”、“RTMP”
- accessControl
- LiveEventInputAccessControl
实时事件输入的访问控制。
- keyFrameIntervalDuration
- String
输入的关键帧间隔持续时间的 ISO 8601 持续时间。 此值设置 HLS 输出中的 EXT-X-TARGETDURATION 属性。 例如,使用 PT2S 指示 2 秒。 将值留空,以便对实时事件进行编码。
- accessToken
- String
字符串形式的 UUID,用于唯一标识流。 这可以在创建时指定,但不能更新。 如果省略,服务将生成唯一值。
- endpoints
- IList<LiveEventEndpoint>
实时事件的输入终结点。