Get the live replay player address

We provide you with a multi-platform support player to get the live or playback of the player address according to the course ID or class ID.Need to provide SID, safekey, timeStamp, class ID, class ID, and return to the player address and description after success.note:课course or class url adress is fixed,so you don't have to get.

Live page we did chat function.All users need to fill in the phone number before they can chat.of course,For your convenience in using this feature,we provide you with no login operation for your school students,Please refer to the belowThe live chat room will be free of second login.

Log in to chat

The live chat room will be free of second login

  • When you are through Get the live replay player address after getting the player link
    • Example:
    • You can get from get the live replay player address courseKey、lessonid
    • You need add account、nickname、checkCode Joining together in behind the address. Pay attention to:No need second time login address and Get the live replay player address not the same address
  • Specific parameters and rules are as follows::
    • Specific parameters have courseKey、lessonid、account、nickname、checkCode
    • Among them lessonid is selectable,All other parameters are required
    • account length is less than 32 characters,nickname length is less than 16 characters
    • checkCode = md5(secret+courseKey+account+nickname)
    • secret is SECRET,at API Docking the secret key there you can get
  • URL splicing sample


HTTP Request Methods

  • POST

Coding format

  • UTF-8

Request data

key Required More Restrictions Instructions Description
SID Yes Null School ID It is available through the application
safeKey Yes Fixed 32-bit all lowercase characters School authentication security key safeKey=MD5(SECRET+timeStamp)
timeStamp Yes Null imestamp used by safeKey Unix Epoch timeStamp is the number of seconds passed by 00:00 (world standard time) on January 1, 1970
courseId Yes Null course ID Null
classId No Null class ID Null

Response data

key Type Sample value meaning
data string Return live replay page address
error_info object Return message object
└ errno number 1 The error code
└ error string "Normal execution" Error list


  • HTTP request
POST /partner/api/course.api.php?action=getWebcastUrl HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache

  • Shell cURL analog request instruction
curl -H "Content-Type: application/x-www-form-urlencoded" -X "POST" \
        -d "SID=1234567" \
        -d "safeKey=0f7781b3033527a8cc2b1abbf45a5fd2" \
        -d "timeStamp=1484719085" \
        -d "courseId=123456" \
        -d "classId=9876" \

Response sample(The normal return json packet example)

  "data": "",
  "error_info": {
    "errno": 1,
    "error": "程序正常执行"

Error code instruction

Error code Instruction
1 Expression successful execution.
100 Expression parameter not all or error.
102 Expression dont have permissions(Security verification failed).
142 Expression this course does not have this section information.
143 Expression there is no information about this section.
144 Expression there is no such course under the school.
149 Expression course have been deleted.
212 Expression this class has been removed.
369 Expression open class does not support this operation.

results matching ""

    No results matching ""