Polyv Help Center

Help Center

Channel Module

Updated: 2026-07-17 15:16:39

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

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 number
getLiveStatus Get channel live status
removeLiveStatusPolling Stop live status polling
startLiveStatusPolling Start live status polling
getPageViewCount Get watch page view count
startPageViewPolling Start watch page view count polling
getLatestPageView Get the latest watch page view count
stopPageViewPolling Stop watch page view count polling
getNewScene Get channel live scene
resetChannelDetail Reset channel details (use with caution)
generateWatchUrl Generate watch page URL
getChannelWatchUrl Get current channel watch page URL
getPushInfo Get push stream information
getWatchSetting Get watch page settings
getPageAdvertSetting Get channel page advertisement settings
getPageAdvertList Get channel page advertisement list
getImgAdvertSetting Get channel icon advertisement settings
getIconAdvertList Get channel icon advertisement list
getPageFooterSetting Get channel page footer settings
getFollowSetting Get channel follow settings
getLangSetting Get channel multi-language settings
getAnchorInfo Get anchor information
getAnchorChannelList Get anchor's associated channel list
getLayoutSetting Get channel layout settings
getWatchThemeStyleConfig Get watch page theme style configuration
getThemeSetting Get channel skin theme settings
getTopGuideSetting Get channel top guide bar configuration
getTeacherInfo Get teacher information
getPageViewSetting Get page view count settings
getCountdownSetting Get live countdown settings
stopWatchDurationStatsPolling Stop watch duration statistics polling
getWatchDurationSetting Get watch duration settings
startWatchDurationStatsPolling Start watch duration statistics polling
getChannelAgreementConfig Get channel agreement configuration
getChannelStreamTrackConfig Get channel stream multi-track configuration
getOnlineListEnabled Get online list toggle
getManagerBulletinMarqueeEnabled Get manager bulletin marquee toggle
getEffectSetting Get channel message effect configuration
needHideViewerNickname Check if viewer nickname should be hidden
getEnablePlayback Get playback toggle
getLastPushStreamTime Get last push stream time
getTargetSessionEnabled Get new live session toggle
getCompressImageEnabled Get live introduction content image compression toggle
getChannelViewerGroupConfig Get channel viewer group configuration
getMixStreamRenderMode Get mixed stream render mode
getBanPushStream Get push stream ban toggle
getPlaybackForbiddenEnabled Get playback stream ban toggle
getAndroidFullScreenEnhancedEnabled Get Android enhanced fullscreen mode toggle
getLowLatencyIntelligentPlayEnabled Get low latency intelligent playback toggle
getLiveSquareConfig Get live square configuration
getChannelSessionList Get channel session list
getChannelSessionChapterList Get channel session chapter list
getShowPlaybackWaitTextEnabled Get toggle for showing playback pending text
getProductEntryLandscapePosition Get product entry landscape position configuration
getSmallClassLoginEnabled Get whether small class channel allows login
getProductIconConfig Get product icon configuration

2. Event Overview

Event Description
ChannelEvents.ChannelSetupFail Channel setup failed
ChannelEvents.LiveStatusChange Live status change event
ChannelEvents.SessionIdChange Session ID change event
ChannelEvents.SeminarHostJoinInGroup Seminar host joins group discussion event
ChannelEvents.SeminarHostLeaveGroup Seminar host leaves group discussion event
ChannelEvents.ViewerWatchDuration Viewer cumulative watch duration
ChannelEvents.TransmitDoubleRoomChange Transmit dual-teacher room switch
ChannelEvents.TransmitChannelSwitch Associated transmit status change
ChannelEvents.ManagerBulletinMarquee Manager bulletin marquee
ChannelEvents.TestModeChange Test mode change
ChannelEvents.AuthExpired Authorization expired
联系客服,在线咨询