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:https://www.eeo.cn/webcast.php?courseKey=xxx&lessonid=xxx
    • You can get from get the live replay player address courseKey、lessonid
    • You need add account、nickname、checkCode Joining together in https://live.eeo.cn/webcast_partner.html 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 EEO.cn API Docking the secret key there you can get
  • URL splicing sample
    • https://live.eeo.cn/webcast_partner.html?courseKey=7be856f28907f1a2&lessonid=123456&account=18600123456&nickname=eeo&checkCode=febe50cd50ba4d3af506bfa118a3845b

URL

https://api.eeo.cn/partner/api/course.api.php?action=getWebcastUrl

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 eeo.cn 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 https://www.eeo.cn/webcast.php?courseKey=xxx&lessonid=xxx Return live replay page address
error_info object Return message object
└ errno number 1 The error code
└ error string "Normal execution" Error list

Sample

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

SID=2339736&safeKey=c23f15a4382fd1da7e91a9697955b9bf&timeStamp=1493901829&courseId=536317&classId=1432593
  • 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" \
    "https://api.eeo.cn/partner/api/course.api.php?action=getWebcastUrl"

Response sample(The normal return json packet example)

{
  "data": "https://www.eeo.cn/webcast.php?courseKey=4fe1167f8060e809&lessonid=123456",
  "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 ""