Skip to content

Commit

Permalink
fix(core): use wss as the default danmaku transport
Browse files Browse the repository at this point in the history
  • Loading branch information
Genteure committed Aug 19, 2023
1 parent 2a38e2c commit 7aa12b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BililiveRecorder.Core/Config/V3/Config.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ private DefaultConfig() { }

public uint RecordDanmakuFlushInterval => 20;

public DanmakuTransportMode DanmakuTransport => DanmakuTransportMode.Random;
public DanmakuTransportMode DanmakuTransport => DanmakuTransportMode.Wss;

public bool DanmakuAuthenticateWithStreamerUid => false;

Expand Down
4 changes: 2 additions & 2 deletions configV3.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@
}
},
"DanmakuTransport": {
"description": "使用的弹幕服务器传输协议\n默认: DanmakuTransportMode.Random",
"markdownDescription": "使用的弹幕服务器传输协议 \n默认: `DanmakuTransportMode.Random `\n\n",
"description": "使用的弹幕服务器传输协议\n默认: DanmakuTransportMode.Wss",
"markdownDescription": "使用的弹幕服务器传输协议 \n默认: `DanmakuTransportMode.Wss `\n\n",
"type": "object",
"additionalProperties": false,
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion config_gen/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const data: Array<ConfigEntry> = [
type: "DanmakuTransportMode",
configType: "globalOnly",
advancedConfig: true,
default: "DanmakuTransportMode.Random",
default: "DanmakuTransportMode.Wss",
},
{
id: "DanmakuAuthenticateWithStreamerUid",
Expand Down

0 comments on commit 7aa12b6

Please sign in to comment.