正在显示
3 个修改的文件
包含
12 行增加
和
5 行删除
| @@ -63,7 +63,7 @@ export default class MessageEntrance extends Emiter { | @@ -63,7 +63,7 @@ export default class MessageEntrance extends Emiter { | ||
| 63 | super(); | 63 | super(); |
| 64 | this.lastClassActiveTime=0;//最后一次课堂激活的时间戳 | 64 | this.lastClassActiveTime=0;//最后一次课堂激活的时间戳 |
| 65 | //sdk 信息 | 65 | //sdk 信息 |
| 66 | - GlobalConfig.sdkVersion = "v2.26.2.20171102"; | 66 | + GlobalConfig.sdkVersion = "v2.26.4.20171102"; |
| 67 | loger.warn("sdkVersion:" + GlobalConfig.sdkVersion); | 67 | loger.warn("sdkVersion:" + GlobalConfig.sdkVersion); |
| 68 | console.log("sdkVersion:" + GlobalConfig.sdkVersion); | 68 | console.log("sdkVersion:" + GlobalConfig.sdkVersion); |
| 69 | //设置 | 69 | //设置 |
| @@ -95,7 +95,7 @@ class CursorApe extends Ape { | @@ -95,7 +95,7 @@ class CursorApe extends Ape { | ||
| 95 | /////鼠标数据接受///////////////////////////////////////////////////////////////////////////////// | 95 | /////鼠标数据接受///////////////////////////////////////////////////////////////////////////////// |
| 96 | tableUpdateHandler(owner, itemIdx, itemData) { | 96 | tableUpdateHandler(owner, itemIdx, itemData) { |
| 97 | let cursorModel = this.unPackPdu(owner, itemIdx, itemData); | 97 | let cursorModel = this.unPackPdu(owner, itemIdx, itemData); |
| 98 | - loger.log('鼠标数据->tableUpdateHandler'); | 98 | + // loger.log('鼠标数据->tableUpdateHandler'); |
| 99 | loger.log(cursorModel); | 99 | loger.log(cursorModel); |
| 100 | if (cursorModel) { | 100 | if (cursorModel) { |
| 101 | this._emit(MessageTypes.CURSOR_UPDATE, cursorModel); | 101 | this._emit(MessageTypes.CURSOR_UPDATE, cursorModel); |
| @@ -131,7 +131,7 @@ class CursorApe extends Ape { | @@ -131,7 +131,7 @@ class CursorApe extends Ape { | ||
| 131 | 131 | ||
| 132 | unPackPdu(owner, itemIdx, itemData) { | 132 | unPackPdu(owner, itemIdx, itemData) { |
| 133 | try { | 133 | try { |
| 134 | - loger.log("鼠标激光笔数据->unPackPdu"); | 134 | + //loger.log("鼠标激光笔数据->unPackPdu"); |
| 135 | const cursorModelPdu = pdu['RCCursorDataModelPdu'].decode(itemData); | 135 | const cursorModelPdu = pdu['RCCursorDataModelPdu'].decode(itemData); |
| 136 | const _pointGroup = EngineUtils.arrayFromJsonString(cursorModelPdu.pointGroup); | 136 | const _pointGroup = EngineUtils.arrayFromJsonString(cursorModelPdu.pointGroup); |
| 137 | cursorModelPdu.pointGroup = _pointGroup; | 137 | cursorModelPdu.pointGroup = _pointGroup; |
| @@ -681,7 +681,7 @@ class DocApe extends Ape { | @@ -681,7 +681,7 @@ class DocApe extends Ape { | ||
| 681 | return; | 681 | return; |
| 682 | } | 682 | } |
| 683 | 683 | ||
| 684 | - let tempDocItemIdx;//临时记录文档数据,用于显示默认文档 | 684 | + /*let tempDocItemIdx;//临时记录文档数据,用于显示默认文档 |
| 685 | for (let key in this.docList) { | 685 | for (let key in this.docList) { |
| 686 | tempDocItemIdx = this.docList[key]; | 686 | tempDocItemIdx = this.docList[key]; |
| 687 | if (tempDocItemIdx&&tempDocItemIdx.fileType!="video") { | 687 | if (tempDocItemIdx&&tempDocItemIdx.fileType!="video") { |
| @@ -694,7 +694,14 @@ class DocApe extends Ape { | @@ -694,7 +694,14 @@ class DocApe extends Ape { | ||
| 694 | //选择完成就跳出循环 | 694 | //选择完成就跳出循环 |
| 695 | return; | 695 | return; |
| 696 | } | 696 | } |
| 697 | - } | 697 | + }*/ |
| 698 | + | ||
| 699 | + //默认显示白板文档 | ||
| 700 | + let paramInfo = { | ||
| 701 | + "itemIdx":GlobalConfig.whiteboardId, | ||
| 702 | + "visible": true | ||
| 703 | + }; | ||
| 704 | + this.documentSwitchDoc(paramInfo); | ||
| 698 | } | 705 | } |
| 699 | 706 | ||
| 700 | onJoinChannelHandlerSuccess() { | 707 | onJoinChannelHandlerSuccess() { |
-
请 注册 或 登录 后发表评论