张艾宸

修改配置文件为config.json

... ... @@ -12,7 +12,7 @@ var http = require('http');
* Get port from environment and store in Express.
*/
var port = normalizePort(process.env.PORT || '3000');
var port = normalizePort(process.env.PORT || '3001');
app.set('port', port);
/**
... ...
const GETCLASSURL = "http://139.196.126.156:8081/getLogs/recordClassList"
const GETCLASSURLPARAMETER = {
siteId:["BuzzKID","kuaikuenglish"],
key:"xdymp4record20191225",
page:1,
maxMedia:3,
}
const PROJECTWINCATALOG = "E:/project/web_capture_release/win-x64"
const PROJECTCATALOG = "E:/project/web_capture_release"
const BACKMEDIACONFIG = {
url : "https://pclive.xuedianyun.com/pcBase/pclive2/dev/index.html",
classId:"",
userId:0,
userName:"",
userRole:"normal",
portalIP:"saas.xuedianyun.com",
portalPort:80,
channels:2,
playRecord:1,
d:0.5*60*60*1000,
s:0,
fa:15,
k:1,
w:1600,
h:789,
}
module.exports = {
GETCLASSURL,
GETCLASSURLPARAMETER,
PROJECTWINCATALOG,
PROJECTCATALOG,
BACKMEDIACONFIG
}
{
"GETCLASSURL":"http://139.196.126.156:8081/getLogs/recordClassList",
"GETCLASSURLPARAMETER":{
"siteId":["BuzzKID","kuaikuenglish"],
"key":"xdymp4record20191225",
"page":1,
"maxMedia":1
},
"PROJECTWINCATALOG":"E:/project/web_capture_release/win-x64",
"PROJECTCATALOG":"E:/project/web_capture_release",
"BACKMEDIACONFIG":{
"url" : "https://pclive.xuedianyun.com/pcBase/pclive2/dev/index.html",
"classId":"",
"userId":0,
"userName":"",
"userRole":"normal",
"portalIP":"saas.xuedianyun.com",
"portalPort":80,
"channels":2,
"playRecord":1,
"d":1800000,
"s":3000,
"fa":15,
"k":0,
"w":1280,
"h":720
}
}
\ No newline at end of file
... ...