fix(core): use wss as the default danmaku transport

This commit is contained in:
genteure 2023-08-19 19:05:27 +08:00
parent 2a38e2ccb9
commit 7aa12b61a7
3 changed files with 4 additions and 4 deletions

View File

@ -544,7 +544,7 @@ namespace BililiveRecorder.Core.Config.V3
public uint RecordDanmakuFlushInterval => 20;
public DanmakuTransportMode DanmakuTransport => DanmakuTransportMode.Random;
public DanmakuTransportMode DanmakuTransport => DanmakuTransportMode.Wss;
public bool DanmakuAuthenticateWithStreamerUid => false;

View File

@ -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": {

View File

@ -222,7 +222,7 @@ export const data: Array<ConfigEntry> = [
type: "DanmakuTransportMode",
configType: "globalOnly",
advancedConfig: true,
default: "DanmakuTransportMode.Random",
default: "DanmakuTransportMode.Wss",
},
{
id: "DanmakuAuthenticateWithStreamerUid",