Polyv Help Center

Help Center

Remastered Courseware Task Result Callback Notification

Updated: 2026-01-20 18:00:56

Purpose

For cloud classroom courseware remastering, when a remastering result is available, a callback notification will be sent to the configured callback URL (e.g., if "Callback Failure Records" is checked in the SaaS backend, a callback will also be triggered upon remastering failure).

Details

After setting the interface URL, if the courseware remastering for a playback video succeeds, the live streaming system will submit the relevant parameters via GET to the user-defined callback interface for notification, for example:

http://abc.com/front/testCallback?duration=25&recordFileType=part&sign=871e33078111d74f5abb3761cf323291&remainDay=179&startTime=20191220000012&sessionId=fix2p01fiz&title=%e6%b5%8b%e9%80%9f&userId=b0f7041324&channelId=206204&url=http%3A%2F%2Fplayback.videocc.net%2Ftransform%2Fa2c7d0ed37_0.mp4%3Fauth_key%3D1663671438-0-0-80ef8541ed603077f355df148b16be82&timestamp=1577271438630&status=success

Remastering Success Callback Parameter Description

Parameter Type Description
channelId String Channel ID
userId String User ID
title String Name of the playback corresponding to the remastering
startTime Long Start time of the playback corresponding to the remastering, format yyyyMMddHHmmss
duration Integer Duration, in seconds
remainDay String Remaining validity period of the remastering
sessionId String Session ID
videoId String Recording file ID / playback video ID
url String Download URL for the remastered video, with anti-leech protection, valid for 24 hours
sign String Signature, generated by the rule md5(AppSecret+timestamp), where AppSecret is the secret key of the live streaming system
timestamp Long 13-digit timestamp
recordFileType String Video file type, only populated when a video is added from temporary files to the playback list
complete: Complete playback
part: Auto recording_segment
merge: Manual merge
clip: Clip
smart-clip: Smart clip
status String Interface processing result, success for success, error for failure

Remastering Failure Callback Parameters

Parameter Type Description
status String Interface processing result, success for success, error for failure
code String Error code
unknown: Unknown exception
userId String POLYV user ID, consistent with the POLYV official website. Retrieval path: Official website -> Login -> Live Streaming (Development Settings)
sessionId String Session ID
channelId String Channel ID
videoId String Recording file ID / playback video ID
sign String Encrypted string for verification, generated by the rule md5(AppSecret+timestamp), where AppSecret is the secret key of the live streaming system
timestamp Long Current 13-digit millisecond timestamp

How to Configure

Prerequisite: The account must have the courseware remastering feature enabled. If this feature is not enabled, the remastering result callback URL will not appear in the callback settings.

Configure via the backend:

Log in to your account - Go to [Cloud Live Streaming] - Click [Development Settings] - Click [Callback Settings] - Find the Remastered Courseware Result Callback URL

Note: The "Callback Failure Records" checkbox, if checked, will also trigger a callback notification upon remastering failure.

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 the corresponding settings cannot be found, it may be due to insufficient account permissions. For assistance, please contact the online customer service in the bottom right corner.

联系客服,在线咨询