Polyv Help Center

Help Center

Live Status Change Callback Notification

Updated: 2025-06-12 17:26:44

Purpose

When the live status of a channel under your account changes, a callback notification will be sent to the configured interface URL.

Details

After setting the interface URL, if a channel under your account undergoes push or disconnect operations that cause a change in its live status, the live streaming system will submit the following parameters via GET to the user-defined callback interface for notification: channelId (channel ID) and status (live status: live indicates streaming started, end indicates streaming ended). For example:

http://abc.com/test.do?channelId=123456&status=live&timestamp=1557976774000&sign=xxdxxxxx&sessionId=xxxxxddd&startTime=1557976777111&endTime=1557976777111&liveType=live

Callback Parameter Description

Parameter Type Description
channelId String Channel ID
status String Live channel status
live: Currently streaming
end: Streaming ended
playback: Playback mode (requires activation)
waiting: Waiting mode (requires activation)
seminar_live: Seminar channel, streaming started
seminar_end: Seminar channel, streaming ended
timestamp Long 13-digit timestamp
sign String Encrypted string for verification, generated using the rule md5(AppSecret + timestamp), where AppSecret is the secret key of the live streaming system
sessionId String Live session ID
startTime Long Live start time, 13-digit timestamp
endTime Long Live end time, 13-digit timestamp (present when status=end, empty when status=live)
liveType String Live mode
live: Real live mode
test: Test mode
pushClient String Push client. Possible values:
windows / mac: Windows or Mac client
web: Web broadcasting
AndroidSDK / iOSSDK: Android or iOS SDK
disk_push / realDiskVideo: Simulated live streaming
pull: Pull streaming
pushClientVersion String Push client version, only has a value when pushClient=windows/mac, e.g., 4.10.0

How to Configure

Configure via the backend:

Log in to your account - Go to [Cloud Live] - Click [Development Settings] - Click [Callback Settings] - Live Status Change Callback URL

Note: The submitted interface URL must start with http:// or https://.

Backend Configuration Reference Images

New backend configuration:

Reference Image

Old backend configuration:

Reference Image

If you cannot find the corresponding setting, it may be due to insufficient account permissions. For assistance, please contact the online customer service in the bottom right corner.

联系客服,在线咨询