查询直播间信息

更新时间:2022-12-28

接口描述

根据直播间ID和开发者账号查询直播间信息

请求地址

https://ccapi.csslcloud.net/api/room/room_detai

请求方式

GET 

请求参数

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

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

请求示例

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

返回数据

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

名称 类型 描述
result String 返回状态,"OK":成功,"FAIL":失败
data Object 直播间详情

data说明

data字段说明详见直播间通用字段说明

返回示例

{
  "data": {
    "talker_pass": "750910",
    "allow_audio": true,
    "talker_url": "https://class.csslcloud.net/index/talker/?roomid=CABA748B34C2C0F09C33DC5901307461&userid=119FA1480CB3EBAF&role=talker&template=32",
    "inspector_url": "https://class.csslcloud.net/index/inspector/?roomid=CABA748B34C2C0F09C33DC5901307461&userid=119FA1480CB3EBAF&role=inspector&template=32",
    "inspector_authtype": 1,
    "max_streams": 2,
    "viewer_authtype": 1,
    "video_mode": 1,
    "if_main": 1,
    "closetime": null,
    "classover_time_open": 0,
    "live_roomid": "CABA748B34C2C0F09C33DC5901307461",
    "mergetype": 2,
    "name": "新课堂",
    "room_mode": 1,
    "publisher_authtype": 1,
    "talker_authtype": 1,
    "assist_url": "https://class.csslcloud.net/index/assistant/?roomid=CABA748B34C2C0F09C33DC5901307461&userid=119FA1480CB3EBAF&role=assistant&template=32",
    "presenter_out": false,
    "live_status": 0,
    "status": 10,
    "calltimeout": 10,
    "roomid": "CABA748B34C2C0F09C33DC5901307461",
    "show_exit": 1,
    "room_type": 2,
    "audio_video_control": 0,
    "manual_record": 0,
    "assist_authtype": 1,
    "max_resolution": 240,
    "audience_authtype": 1,
    "stream_merge_type": 1,
    "room_source": 1,
    "assist_switch": 1,
    "third_page_auth": 0,
    "class_no": 60210851,
    "audience_pass": "521382",
    "light_mark": 0,
    "createtime": "2022-12-19 15:26:48",
    "userid": "119FA1480CB3EBAF",
    "schedule_live_end": null,
    "publisher_bitrate": 200,
    "background_id": 1,
    "classtype": 3,
    "brush_save_display": 1,
    "support_camera": 0,
    "publisherpass": "123",
    "translate": 0,
    "templatetype": 32,
    "share_desktop_display": 1,
    "max_users": 700,
    "allow_speak": true,
    "third_page_name": null,
    "desc": "",
    "layout_mode": 0,
    "allow_all_presenter_role": 0,
    "talker_bitrate": 200,
    "big_room": 1,
    "allow_chat": true,
    "warm_open": "0",
    "screen_lock": 0,
    "schedule_live_start": null,
    "record_switch": 0,
    "presenter_url": "https://class.csslcloud.net/index/presenter/?roomid=CABA748B34C2C0F09C33DC5901307461&userid=119FA1480CB3EBAF&role=presenter&template=32",
    "inspector_pass": "348293",
    "schedule_switch": 0,
    "toolbox_switch": "1,2,3,4,5,6,7,8,9",
    "classover_time": 5,
    "white_list": null,
    "version_control_type": 1,
    "third_page_url": null,
    "ppt_support": true,
    "assist_pass": "498063",
    "update_time": "2022-12-19 15:26:48",
    "version_control_id": "90221d2b05a74be0b4d1",
    "create_user_id": "119FA1480CB3EBAF",
    "auto_up": 1,
    "ppt_display": 0,
    "classover_tips": "下课时间要到啦,请注意授课节奏。"
  },
  "result": "OK"
}

results matching ""

    No results matching ""