config.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # 支持零配置启动,即无需填写配置默认启用所有的插件。
  2. # 只需要填写需要修改的配置项即可。不需要将所有的配置都填写进来!!。
  3. # 全局配置参考 https://m7s.live/guide/config.html
  4. # 插件配置参考各个插件的文档
  5. # 插件都有一个enable配置,如果为false则不启用该插件,默认为true即不需要配置。
  6. global:
  7. rebootcachetime: 300
  8. http:
  9. authkey: test
  10. authsecret: test1
  11. loglevel: error
  12. mysqlconfig:
  13. user: root
  14. passwd: 1353406
  15. addr: 47.103.201.156:3306
  16. db: db_sdp_management
  17. charset: utf8mb4
  18. maxidle: 10
  19. maxconn: 100
  20. logmode: true
  21. redisconfig:
  22. redisaddrs:
  23. - 47.103.130.208:63779
  24. redispasswd: dip_prv
  25. redisdb: 0
  26. redispoolsize: 100
  27. redisminidleconns: 10
  28. redismaxretries: 1
  29. rediscluster: false
  30. ossconfig:
  31. accesskeyid: LTAI5tMXuRXxUbNuD69ryfUh
  32. accesskeysecret: Pujpylo7AJ57pUCJR0NJR6HROLhVYb
  33. endpoint: oss-cn-shanghai.aliyuncs.com
  34. bucket: dip-dev-test
  35. publish:
  36. waitclosetimeout: 30s
  37. #key: test
  38. #delayclosetimeout: 60s
  39. #pubaudio: false
  40. idletimeout: 300s
  41. publishtimeout: 30s
  42. subscribe:
  43. waittimeout: 60s
  44. key: test
  45. llhls:
  46. enable: false
  47. hls:
  48. enable: true
  49. monitor:
  50. enable: false
  51. gb28181:
  52. sipip: 192.168.1.107
  53. invitemode: 1
  54. sipid: 1
  55. serial: 34020000002000000001
  56. realm: 3402000000
  57. username:
  58. password:
  59. registervalidity: 3600s
  60. heartbeatinterval: 60s
  61. port:
  62. sip: udp:5060
  63. media: tcp:58200-65535
  64. #mediaNetwork: udp
  65. record:
  66. subscribe:
  67. internal: false
  68. ffmpeg: ./ffmpeg.exe
  69. mp4:
  70. ext: .mp4
  71. path: record/mp4
  72. autorecord: true
  73. filter: ""
  74. fragment: 1m