跳转至

教室事件说明

  1. 被踢事件

    1
    2
    3
    4
    {
      type: "RoomParticipantEvicted",
      data: {}
    }
    
  2. 课堂开始

    1. 已经上课了

      1
      2
      3
      4
      5
      6
      7
      8
          {
          "type": "RoomClassBegin",
          "data": {
              "classBegin": true,
              "type": "RoomMsgList",
              "desc": "接收来自RoomMsgList信令里上课信令,刚进入网页就处于上课状态时触发。"
          }
      }
      

    2. 点击上课

    1
    2
    3
    4
    5
    6
    7
    8
    {
        "type": "RoomClassBegin",
        "data": {
            "classBegin": true,
            "type": "roomPubmsg",
            "desc": "接收来自RoomPubmsg信令里上课信令,主讲人点击上课按钮触发。"
        }
    }
    
    1. 课堂结束
    1
    2
    3
    4
    5
    6
    7
    8
    {
        "type": "RoomClassBegin",
        "data": {
            "classBegin": false,
            "type": "RoomDelmsg",
            "desc": "接收来自RoomDelmsg信令里下课信令,主讲点击下课按钮下课。"
        }
        }
    
    1. 房间连接成功事件
    1
    2
    3
    4
    5
    6
    7
    {
        "type": "RoomConnection",
        "data": {
            "source": "Talk",
            "action": "loaded"
        }
    }
    
    1. 教室跳转url
    1
    2
    3
    4
    5
    6
    {
        "type": "RoomOverUrl",
        "data": {
            "leaveRoomUrl": "https://class.51menke.com/?roomid=953381555&userid=67a3e7ad-b128-2022-3f26-5fb7b4160c97&role=0&serial=953381555"
        }
    }
    
    1. 共享屏幕
    1
    2
    3
    4
    5
    6
    {
        "type": "RoomUserScreen",
        "data": {
            "published": true
        }
    }
    
    1. 全屏 
    1
    2
    3
    4
    5
    6
    {
        "type": "RoomFullScreen",
        "data": {
            "isFullscreen": true
        }
    }
    
    1. 房间连接失败事件

    错误码见《状态码》-全局错误码

    1
    2
    3
    4
    {
        "type": "RoomConnectionFail",
        "data": {}
    }
    

© 2016-2023 北京拓课网络科技有限公司 版权所有  京ICP备17018423号-1 京公网安备11010502043461号