李勇

人员信息中增加ms列表数据

此 diff 太大无法显示。
... ... @@ -28,7 +28,7 @@ import MediaModule from 'apes/MediaModule';
import UTF8 from 'utf-8';
let loger = Loger.getLoger('McuClient');
let _sdkInfo = {"version": "v1.23.5.201705023", "author": "www.3mang.com"};
let _sdkInfo = {"version": "v1.24.0.201705024", "author": "www.3mang.com"};
//APE
let _sass;
... ...
... ... @@ -119,7 +119,20 @@ class ConferApe extends Ape {
nodeInfoRecordPdu.province= GlobalConfig.province;//服务商
nodeInfoRecordPdu.isp=GlobalConfig.isp;//服务商
//用户的MS列表
let msListAll=GlobalConfig.msListAll;
for(let k=0;k<msListAll.length;k++){
let msItem=msListAll[k];
if(msItem){
let msListItemPdu = new pdu['MsListItemPdu'];
msListItemPdu.ip=msItem.ip||"";
msListItemPdu.port=msItem.port||"";
msListItemPdu.country=msItem.country||"";
msListItemPdu.province=msItem.province||"";
msListItemPdu.city=msItem.city||"";
nodeInfoRecordPdu.msList.push(msListItemPdu);
}
}
return nodeInfoRecordPdu;
}
... ...
... ... @@ -833,7 +833,13 @@ message RCVideoDeviceInfoRecordPdu {
required uint32 device_id = 1;
required string device_name = 2;
}
message MsListItemPdu {
optional string ip = 1;
optional string port = 2;
optional string country = 3;
optional string province = 4;
optional string city = 5;
}
message RCNodeInfoRecordPdu {
required uint32 node_id = 1;
required string name = 2;
... ... @@ -863,6 +869,7 @@ message RCNodeInfoRecordPdu {
optional string city=26;
optional string province=27;
optional string isp=28;
repeated MsListItemPdu msList = 29;
}
message RCVotingPollSettingsPdu {
... ...