Brak opisu
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.

ctx.js 274B

123456789101112131415
  1. const EventEmitter = require('events');
  2. let sessions = new Map();
  3. let publishers = new Map();//RTMP推流客户端
  4. let nodeEvent = new EventEmitter();
  5. let stat = {
  6. inbytes: 0,
  7. outbytes: 0,
  8. accepted: 0
  9. };
  10. module.exports = { sessions, publishers, nodeEvent, stat };