查询直播间登录链接

更新时间:2022-01-31

接口描述

通过该接口可以获取直播间的不同角色登录链接

请求地址

https://ccapi.csslcloud.net/api/v1/room/link

请求方式

GET 

请求参数

接口统一权限认证请参考THQS认证方式

名称 类型 必填 描述
userid String 开发者账号ID
roomid String 直播间ID

请求示例

GET https://ccapi.csslcloud.net/api/v1/room/link?userid=41E8063FC799ACE&roomid=D90DCF5BF6DA3C8C9C33DC5901307461&time=1670412086&hash={hash}

返回数据

公共返回数据结构请参考 公共返回数据说明

名称 类型 描述
presenter_url String 讲师登录链接URL
talker_url String 学员登录链接URL
audience_url String 旁听登录链接URL
inspector_url String 隐身者登录链接URL
assist_url String 助教登录链接URL
presenter_class_no String 讲师参课码
talker_class_no String 学员参课码
inspector_class_no String 隐身者参课码
assist_class_no String 助教参课码
code_url String 参课码登录链接

返回示例

{
  "result": "OK",
  "data": {
    "presenter_url": "https://class.csslcloud.net/index/presenter/?roomid=6B98EC160F93283A9C33DC5901307461&userid=5938F047E5F562F0",
    "talker_url": "https://class.csslcloud.net/index/talker/?roomid=6B98EC160F93283A9C33DC5901307461&userid=5938F047E5F562F0",
    "audience_url": "https://view.csslcloud.net/api/view/index?roomid=6B98EC160F93283A9C33DC5901307461&userid=5938F047E5F562F0&from=class",
    "inspector_url": "https://class.csslcloud.net/index/inspector/?roomid=6B98EC160F93283A9C33DC5901307461&userid=5938F047E5F562F0",
    "assist_url": "https://class.csslcloud.net/index/assistant/?roomid=6B98EC160F93283A9C33DC5901307461&userid=5938F047E5F562F0",
    "talker_class_no": "200009131",
    "inspector_class_no": "200009133",
    "assist_class_no": "200009134",
    "presenter_class_no": "200009130",
    "code_url": "https://class.csslcloud.net/hdclass/#/enter"
  }
}

results matching ""

    No results matching ""