Open wyulang opened 1 year ago
if (this.config.custom) { if (this.config.cluster) { Logger.log('NodeFissionServer does not work in cluster mode'); } else { this.nfs = new NodeFissionServer(this.config); this.nfs.run(); } }
如上 this.config.custom 里面参数由用户定义 ...., https: { port: 8443, key:'./privatekey.pem', cert:'./certificate.pem', }, custom:{ parameter:[...] }
this.ffmpeg_exec = spawn(this.conf.ffmpeg, parameter);
if (this.config.custom) { if (this.config.cluster) { Logger.log('NodeFissionServer does not work in cluster mode'); } else { this.nfs = new NodeFissionServer(this.config); this.nfs.run(); } }
如上 this.config.custom 里面参数由用户定义 ...., https: { port: 8443, key:'./privatekey.pem', cert:'./certificate.pem', }, custom:{ parameter:[...] }
this.ffmpeg_exec = spawn(this.conf.ffmpeg, parameter);