暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718
  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. let ssrcs = new Map(); //ssrc和注册用户映射关系表,键是ssrc, 值是 {id,chid,play}
  11. module.exports = { sessions, publishers, nodeEvent, stat , ssrcs};