You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
918 B
YAML
43 lines
918 B
YAML
Bilibili:
|
|
Enabled: false
|
|
Type: custom
|
|
Official:
|
|
Api: https://live-open.biliapi.com
|
|
AkId: 1rVL1YRSoii28LJ1O7KIQqqQ
|
|
AkSecret: 5USwZt2bygTIE8a2cXahZrzsdKtbxd
|
|
Custom:
|
|
Url: wss://broadcastlv.chat.bilibili.com:2245/sub
|
|
GetRoomUrl: https://api.live.bilibili.com/room/v1/Room/room_init?id=
|
|
HeartbeatInterval: 30
|
|
UserId: 111222
|
|
RoomId: 8722013
|
|
Douyu:
|
|
Enabled: true
|
|
Type: custom
|
|
Custom:
|
|
Url: wss://danmuproxy.douyu.com:8501/
|
|
HeartbeatInterval: 45
|
|
UserId: 111222
|
|
RoomId: 10984327 #
|
|
Log:
|
|
Console:
|
|
Level: info
|
|
Format: console
|
|
File:
|
|
Enabled: true
|
|
Level: info
|
|
Format: json
|
|
Path: ./logs
|
|
Filename: live-gateway.log
|
|
FileMaxSize: 10 # 10mb
|
|
FileMaxBackups: 30 #
|
|
MaxAge: 7 # 保留7天
|
|
Compress: true # 压缩日志
|
|
Kafka:
|
|
Danmaku:
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
Topic: "danmaku"
|
|
Gift:
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
Topic: "gift"
|