Polyv Help Center

Help Center

Callback Interface After Successful Viewing Log Generation Post-Live Broadcast

Updated: 2022-05-16 10:08:41

Purpose:

After a live broadcast under your account ends, once the viewing log is successfully generated, a callback notification will be sent to the configured interface address.

Details:

After setting the interface address, if the viewing log is successfully generated following the end of the live broadcast, a GET request will be submitted to the user-defined callback interface for notification, e.g., http://abc.com/viewlogCallback?channelId=123456&timestamp=1388888884444&sign=xxxxxxx&sessionId=xxxxxddd&startTime=1557976777111&endTime=1557976777111

Parameter Type Description
channelId int Channel ID
timestamp long 13-digit timestamp
sign String Encrypted string for verification, generated using the rule md5(AppSecret+timestamp). AppSecret is the secret key of the live broadcast system.
sessionId String Session ID of the live broadcast
startTime long 13-digit timestamp, start time of the live broadcast
endTime long 13-digit timestamp, end time of the live broadcast
Note: The submitted interface address must start with http:// or https://
联系客服,在线咨询