Polyv Help Center

Help Center

Live Status Change Callback Notification

Updated: 2026-11-16 14:44:59

Purpose

After the live status of a channel under the account changes, a callback notification will be sent to the configured API address.

Details

After the API address is set, if a channel under the account performs stream pushing or stream disconnection operations that cause the channel's live status to change, the live system will submit the following parameters, channelId (channel number) and status (live status: live indicates live started, end indicates live ended), via GET to the user-defined callback API for notification, 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 Name Type Description
channelId String Channel ID
status String Status of the live channel
live: Live in progress
end: Live ended
playback: In playback (requires activation)
waiting: Waiting (requires activation)
seminar_live (seminar channel, live started)
seminar_end (seminar channel, live ended)
timestamp Long 13-digit timestamp
sign String Encrypted string for verification, generated by the rule md5(AppSecret+timestamp), where AppSecret is the secret key of the live system
sessionId String Live session ID
startTime Long Live start time, 13-digit timestamp
endTime Long Live end time, 13-digit timestamp (has a value when status=end, and is empty when status=live)
liveType String Live mode
live: Real live mode
test: Test mode
pushClient String Streaming client. Possible values:
windows / mac: windows or mac client
web: Web broadcasting
AndroidSDK / iOSSDK: Android or iOS SDK
disk_push / realDiskVideo: Pseudo-live
pull: Pull-stream live
pushClientVersion String Streaming client version. The version parameter has a value only when pushClient=windows/mac, for example, 4.10.0

How to Set

Set via the console:

Log in to the account - Click [Settings] - Under [Development Settings], click [Callbacks and APIs] - Find [Live Status Change Callback URL] and enter the callback address

Note: The submitted API address must start with http:// or https://

Console Settings Reference Images

New console settings:

Live Status Change Callback URL Settings

Old console settings:

Reference Image

If you cannot find the corresponding settings, it may be due to insufficient account permissions. If you need help, please contact the online customer service at the bottom right corner.

联系客服,在线咨询
在线咨询