mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
fix(core): use wss as the default danmaku transport
This commit is contained in:
parent
2a38e2ccb9
commit
7aa12b61a7
|
@ -544,7 +544,7 @@ namespace BililiveRecorder.Core.Config.V3
|
||||||
|
|
||||||
public uint RecordDanmakuFlushInterval => 20;
|
public uint RecordDanmakuFlushInterval => 20;
|
||||||
|
|
||||||
public DanmakuTransportMode DanmakuTransport => DanmakuTransportMode.Random;
|
public DanmakuTransportMode DanmakuTransport => DanmakuTransportMode.Wss;
|
||||||
|
|
||||||
public bool DanmakuAuthenticateWithStreamerUid => false;
|
public bool DanmakuAuthenticateWithStreamerUid => false;
|
||||||
|
|
||||||
|
|
|
@ -280,8 +280,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"DanmakuTransport": {
|
"DanmakuTransport": {
|
||||||
"description": "使用的弹幕服务器传输协议\n默认: DanmakuTransportMode.Random",
|
"description": "使用的弹幕服务器传输协议\n默认: DanmakuTransportMode.Wss",
|
||||||
"markdownDescription": "使用的弹幕服务器传输协议 \n默认: `DanmakuTransportMode.Random `\n\n",
|
"markdownDescription": "使用的弹幕服务器传输协议 \n默认: `DanmakuTransportMode.Wss `\n\n",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -222,7 +222,7 @@ export const data: Array<ConfigEntry> = [
|
||||||
type: "DanmakuTransportMode",
|
type: "DanmakuTransportMode",
|
||||||
configType: "globalOnly",
|
configType: "globalOnly",
|
||||||
advancedConfig: true,
|
advancedConfig: true,
|
||||||
default: "DanmakuTransportMode.Random",
|
default: "DanmakuTransportMode.Wss",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "DanmakuAuthenticateWithStreamerUid",
|
id: "DanmakuAuthenticateWithStreamerUid",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user