李勇

1.文档模块修改获取图片序列的代码,页码从1开始

2.音视频模块修改接口参数名称 toNodeId
3.socket模块调整代码顺序
... ... @@ -85,6 +85,8 @@ class EverSocket extends Emiter {
loger.log('WebSocket,Timers已经销毁');
return;
}
this._enableEverSocket = false;
this._setConnected(false);
this.websocket.onopen = undefined;
this.websocket.onclose = undefined;
this.websocket.onerror = undefined;
... ... @@ -95,8 +97,7 @@ class EverSocket extends Emiter {
loger.log('ignore errors');
}
this.websocket = undefined;
this._enableEverSocket = false;
this._setConnected(false);
}
_onOpen() {
... ...
... ... @@ -166,7 +166,7 @@ class AudioApe extends Ape {
audioSendPdu.isPublic = true;
audioSendPdu.fromNodeId = GlobalConfig.nodeId;//发起人
audioSendPdu.toNodeId = parseInt(_param.toNodeID) || 0;//接收者,0就是所有人
audioSendPdu.toNodeId = parseInt(_param.toNodeId) || 0;//接收者,0就是所有人
audioSendPdu.actionType = parseInt(_param.actionType) || ApeConsts.MEDIA_ACTION_DEFAULT;
audioSendPdu.data = this._rCArrayBufferUtil.strToUint8Array("h5" + _param.data);//开头两个字会乱码
... ...
... ... @@ -171,7 +171,7 @@ class DocApe extends Ape {
if(lastIndex>0){
let newPath=fullPath.substr(0,lastIndex);
let pathArr=[];
for(let i=1;i<_param.pageNum;i++){
for(let i=1;i<=_param.pageNum;i++){
pathArr.push(newPath+"/"+i+"."+fileType);
}
return pathArr;
... ...
... ... @@ -176,7 +176,7 @@ class VideoApe extends Ape {
videoSendPdu.isPublic = true;
videoSendPdu.fromNodeId = GlobalConfig.nodeId;//发起人
videoSendPdu.toNodeId = parseInt(_param.toNodeID) || 0;//接收者,0就是所有人
videoSendPdu.toNodeId = parseInt(_param.toNodeId) || 0;//接收者,0就是所有人
videoSendPdu.actionType = parseInt(_param.actionType) || ApeConsts.MEDIA_ACTION_DEFAULT;
videoSendPdu.data = this._rCArrayBufferUtil.strToUint8Array("h5" + _param.data);//开头两个字会乱码
... ...