暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718
  1. const NodeAPIServer = require('./api/server');
  2. const NodeGB28181Server = require('./GB28181Server');
  3. const NodeStreamServer = require('./stream/server');
  4. const config = require('./config');
  5. //信令服务
  6. let vagSignalService = new NodeGB28181Server(config);
  7. vagSignalService.run();
  8. //网关API服务
  9. let vagAPIService = new NodeAPIServer(config);
  10. vagAPIService.run();
  11. //流媒体服务
  12. if (config.GB28181.streamServer.enable) {
  13. let vagStreamService = new NodeStreamServer(config);
  14. vagStreamService.run();
  15. }