portal.toml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. version = "1.0.0"
  2. trace = false
  3. [app]
  4. key = "380787173931f128"
  5. secret = "72289981fa921937f0359c4cc6c49fcc"
  6. [log]
  7. dir = "/data/log/portal/"
  8. [mysql]
  9. addr = "127.0.0.1:3306"
  10. dsn = "test:test@tcp(127.0.0.1:3306)/test?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  11. readDSN = ["test:test@tcp(127.0.0.2:3306)/test? timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4","test:test@tcp(127.0.0.3:3306)/test?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
  12. active = 20
  13. idle = 10
  14. idleTimeout ="4h"
  15. queryTimeout = "100ms"
  16. execTimeout = "100ms"
  17. tranTimeout = "200ms"
  18. #二级源站配置
  19. [leveltwosourcestation]
  20. #移动
  21. [leveltwosourcestation.mobile]
  22. domain = ["jssz-l2-live-origin.acgvideo.com"]
  23. #联通
  24. [leveltwosourcestation.unicom]
  25. domain = []
  26. #电信
  27. [leveltwosourcestation.telecom]
  28. domain = ["jsnt2-dx-l2-live-origin.acgvideo.com"]
  29. #流的转推腾讯在用
  30. [streamforward]
  31. global = ["bvc2","bvc3","bvc4"]
  32. [streamforward.address]
  33. # bvc1= "rtmp://live-origin.acgvideo.com/live-bvc/"
  34. bvc2 = "rtmp://backup-live-origin.acgvideo.com/live-bvc/"
  35. bvc3 = "rtmp://shylf-live-origin.acgvideo.com/live-bvc/"
  36. bvc4 = "rtmp://shjd-live-origin.acgvideo.com/live-bvc/"
  37. tx = "rtmp://txy.live-ztsend.acg.tv/live-txy/"
  38. js = "rtmp://js.live-ztsend.acg.tv/live-js/"
  39. ws = "rtmp://wslive-ztsend.acg.tv/live"
  40. qn = "rtmp://qn.live-ztsend.acg.tv/live-qn/"
  41. [streamforward.list]
  42. live_9617619_6384511 = ["bvc2", "bvc3", "bvc4", "qn", "js", "ws", "tx"]
  43. ive_2306780_332_c521e483 = ["bvc2", "bvc3", "bvc4", "qn", "js", "ws", "tx"]
  44. live_111191654_5895927 = ["bvc2", "bvc3", "bvc4", "qn", "js", "ws", "tx"]
  45. live_18976141_6925617 = ["bvc2", "bvc3", "bvc4", "qn", "js", "ws", "tx"]
  46. live_155494361_2075761 = ["bvc2", "bvc3", "bvc4", "qn", "js", "ws", "tx"]
  47. # 腾讯的测试房间
  48. # live_53241657_2859495 = ["bvc2", "bvc3", "bvc4", "qn", "ws"]
  49. #流的转推BVC在用
  50. [bvcstreamforward]
  51. global = ["qn","ws"]
  52. [bvcstreamforward.address]
  53. # bvc1= "rtmp://live-origin.acgvideo.com/live-bvc/"
  54. bvc2 = "rtmp://backup-live-origin.acgvideo.com/live-bvc/"
  55. bvc3 = "rtmp://shylf-live-origin.acgvideo.com/live-bvc/"
  56. bvc4 = "rtmp://shjd-live-origin.acgvideo.com/live-bvc/"
  57. tx = "rtmp://txy.live-ztsend.acg.tv/live-txy/"
  58. js = "rtmp://js.live-ztsend.acg.tv/live-js/"
  59. ws = "rtmp://wslive-ztsend.acg.tv/live"
  60. qn = "rtmp://qn.live-ztsend.acg.tv/live-qn/"
  61. [bvcstreamforward.list]
  62. #91625
  63. live_26366366_3333288 = ["tx", "qn", "ws"]
  64. #7734200
  65. live_50329118_9516950 = ["qn", "js", "ws", "tx"]
  66. #35788
  67. live_842519_2437993 = ["js", "ws", "qn"]
  68. #5440
  69. live_9617619_6384511 = ["qn", "js", "ws", "tx"]
  70. #8016907
  71. live_50329220_7780332 = ["qn", "js", "ws", "tx"]
  72. #4592823
  73. live_111191654_5895927 = ["qn", "js", "ws", "tx"]
  74. #312785
  75. live_33272823_4014225 = ["qn", "js", "ws", "tx"]
  76. #504273
  77. live_28272979_5242853 = ["qn", "js", "ws", "tx"]
  78. #5086
  79. live_2306780_332_c521e483 = ["qn", "js", "ws", "tx"]
  80. #4891447
  81. live_168605655_3397957 = ["qn", "js", "ws", "tx"]
  82. #6285567
  83. live_2551476_8920838 = ["qn", "js", "ws", "tx"]
  84. #11218604
  85. live_50329485_5259019 = ["qn", "js", "ws", "tx"]
  86. #4891419
  87. live_168605029_4772413 = ["tx", "ws"]
  88. #20006
  89. live_10769652_332_c521e483 = ["qn", "js", "ws", "tx"]