Polyv Help Center

Help Center

Channel Module

Updated: 2024-10-10 17:27:10

频道模块(channel) is a module that serves the Polyv channel functionality, including retrieving channel settings, obtaining the latest push stream information for a channel, and getting the live broadcast status.

1. API Method Overview

API Method Description
getChannelBasicInfo Get channel basic information
getChannelScene Get channel scene
getPromoteId Get channel ID
getCurrentSessionId Get channel live session ID
getLiveStatus Get channel live status
removeLiveStatusPolling Stop live status polling
startLiveStatusPolling Start live status polling
getPageViewCount Get page view count
startPageViewPolling Start page view count polling
stopPageViewPolling Stop page view count polling
getPushInfo Get push stream information
getWatchSetting Get watch page settings
getLayoutSetting Get channel layout settings
getThemeSetting Get channel skin theme settings
getTeacherInfo Get teacher information
getPageViewSetting Get page view settings
getCountdownSetting Get live countdown settings
getShareInfo Get share information

2. Event Overview

Event Description
ChannelEvents.LiveStatusChange Live status change event
ChannelEvents.SessionIdChange Session ID change event
联系客服,在线咨询
在线咨询