as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
由频道集群提供商提供的处理程序接口。应处理频道集群支持的命令。

方法

handleChangeChannel()

handleChangeChannel(matchChannelIdentifierStr: string): Promise<IChangeChannelResponse> 使用给定的频道标识符,将当前流变更为特定频道。 用于通过ChannelDescriptor中提供的标识符调谐到某个频道。

参数

matchChannelIdentifierStr
string 为识别目标频道而匹配的用户输入字符串。目前,该字符串不用区分大小写就能完全匹配频道标识符。未来,该字符串还将包含AffiliateCallSign、CallSign、Name、Number等值。

返回值

Promise<IChangeChannelResponse>

handleChangeChannelByNumber()

handleChangeChannelByNumber(majorNumber: number, minorNumber: number): Promise<IChangeChannelResponse> 根据给定的频道主号码和次号码,将当前流变更为特定频道。 handleChangeChannelByNumber目前未使用,实施并使用handleChangeChannel,而不是处理频道调谐。

参数

majorNumber
number 频道应变更的主号码值(ATSC格式)。
minorNumber
number 频道应变更的次号码值(ATSC格式)。

返回值

Promise<IChangeChannelResponse>

handleSkipChannel()

handleSkipChannel(count: number): Promise<IChangeChannelResponse> 从当前频道跳过指定数量的频道,并流式传输结果频道。

参数

count
number 增加(计数为正)或减少(计数为负)当前频道的步骤数。

返回值

Promise<IChangeChannelResponse>
最后修改于 2026年10月26日