2022-06-10 16:34:25 +08:00
|
|
|
import { ConfigEntry } from './types'
|
2021-08-13 21:03:21 +08:00
|
|
|
|
|
|
|
export const data: Array<ConfigEntry> = [
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "RoomId",
|
|
|
|
name: "房间号",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "int",
|
|
|
|
configType: "roomOnly",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "",
|
|
|
|
webReadonly: true
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "AutoRecord",
|
|
|
|
name: "自动录制",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "bool",
|
|
|
|
configType: "roomOnly",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: ""
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "RecordMode",
|
|
|
|
name: "录制模式",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "RecordMode",
|
|
|
|
configType: "room",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "RecordMode.Standard"
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "CuttingMode",
|
|
|
|
name: "自动分段模式",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "CuttingMode",
|
|
|
|
configType: "room",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "CuttingMode.Disabled"
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "CuttingNumber",
|
|
|
|
name: "自动分段数值",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "uint",
|
|
|
|
configType: "room",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: 100
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
2023-10-12 17:59:45 +08:00
|
|
|
{
|
|
|
|
id: "CuttingByTitle",
|
|
|
|
name: "改标题后自动分段",
|
|
|
|
type: "bool",
|
|
|
|
configType: "room",
|
|
|
|
default: false
|
|
|
|
},
|
2021-08-13 21:03:21 +08:00
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "RecordDanmaku",
|
|
|
|
name: "弹幕录制",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "bool",
|
|
|
|
configType: "room",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: false
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "RecordDanmakuRaw",
|
|
|
|
name: "弹幕录制-原始数据",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "bool",
|
|
|
|
configType: "room",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: false
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "RecordDanmakuSuperChat",
|
|
|
|
name: "弹幕录制-SuperChat",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "bool",
|
|
|
|
configType: "room",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: true
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "RecordDanmakuGift",
|
|
|
|
name: "弹幕录制-礼物",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "bool",
|
|
|
|
configType: "room",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: false
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "RecordDanmakuGuard",
|
|
|
|
name: "弹幕录制-上船",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "bool",
|
|
|
|
configType: "room",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: true
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
2022-08-27 18:07:09 +08:00
|
|
|
{
|
|
|
|
id: "SaveStreamCover",
|
|
|
|
name: "保存直播封面",
|
|
|
|
type: "bool",
|
|
|
|
configType: "room",
|
|
|
|
default: false
|
|
|
|
},
|
2021-08-13 21:03:21 +08:00
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "RecordingQuality",
|
|
|
|
name: "直播画质",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "string?",
|
|
|
|
configType: "room",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "10000",
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "FileNameRecordTemplate",
|
|
|
|
name: "录制文件名模板",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "string?",
|
|
|
|
configType: "globalOnly",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: '{{ roomId }}-{{ name }}/录制-{{ roomId }}-{{ "now" | time_zone: "Asia/Shanghai" | format_date: "yyyyMMdd-HHmmss-fff" }}-{{ title }}.flv',
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
2022-06-25 17:31:21 +08:00
|
|
|
{
|
|
|
|
id: "FlvProcessorSplitOnScriptTag",
|
|
|
|
name: "FLV修复-检测到可能缺少数据时分段",
|
|
|
|
type: "bool",
|
|
|
|
configType: "room",
|
|
|
|
default: false
|
|
|
|
},
|
2023-02-01 19:14:53 +08:00
|
|
|
{
|
|
|
|
id: "FlvWriteMetadata",
|
|
|
|
name: "是否在视频文件写入直播信息 metadata",
|
|
|
|
type: "bool",
|
|
|
|
configType: "globalOnly",
|
2023-02-01 21:05:04 +08:00
|
|
|
advancedConfig: true,
|
2023-02-01 19:14:53 +08:00
|
|
|
default: true
|
|
|
|
},
|
2024-11-10 14:55:48 +08:00
|
|
|
{
|
|
|
|
id: "TitleFilterPatterns",
|
|
|
|
name: "不录制的标题匹配正则",
|
|
|
|
type: "string?",
|
|
|
|
configType: "room",
|
|
|
|
default: ""
|
|
|
|
},
|
2021-08-13 21:03:21 +08:00
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "WebHookUrls",
|
|
|
|
name: "WebhookV1",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "string?",
|
|
|
|
configType: "globalOnly",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "",
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "WebHookUrlsV2",
|
|
|
|
name: "WebhookV2",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "string?",
|
|
|
|
configType: "globalOnly",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "",
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "WpfShowTitleAndArea",
|
2022-08-25 18:43:23 +08:00
|
|
|
name: "桌面版在界面显示标题和分区",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "bool",
|
|
|
|
configType: "globalOnly",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: true
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
2022-08-25 18:43:23 +08:00
|
|
|
{
|
|
|
|
id: "WpfNotifyStreamStart",
|
|
|
|
name: "桌面版开播时弹出系统通知",
|
|
|
|
type: "bool",
|
|
|
|
configType: "globalOnly",
|
|
|
|
default: false
|
|
|
|
},
|
2021-08-13 21:03:21 +08:00
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "Cookie",
|
2021-08-13 21:03:21 +08:00
|
|
|
name: "Cookie",
|
|
|
|
type: "string?",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "",
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "LiveApiHost",
|
|
|
|
name: "API Host",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "string?",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "https://api.live.bilibili.com",
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "TimingCheckInterval",
|
|
|
|
name: "主动检查时间间隔 秒",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "uint",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2022-06-10 16:34:25 +08:00
|
|
|
default: 10 * 60,
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
2022-08-25 19:23:18 +08:00
|
|
|
{
|
|
|
|
id: "TimingApiTimeout",
|
2023-07-12 00:55:47 +08:00
|
|
|
name: "请求mikufansAPI超时时间 毫秒",
|
2022-08-25 19:23:18 +08:00
|
|
|
type: "uint",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
|
|
|
default: 10 * 1000,
|
|
|
|
},
|
2021-08-13 21:03:21 +08:00
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "TimingStreamRetry",
|
|
|
|
name: "录制断开重连时间间隔 毫秒",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "uint",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2022-06-10 16:34:25 +08:00
|
|
|
default: 6 * 1000,
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
2021-11-20 14:34:35 +08:00
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "TimingStreamRetryNoQn",
|
|
|
|
name: "录制无指定画质重连时间间隔 秒",
|
2021-11-20 14:34:35 +08:00
|
|
|
type: "uint",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2022-06-10 16:34:25 +08:00
|
|
|
default: 90,
|
2021-11-20 14:34:35 +08:00
|
|
|
},
|
2021-08-13 21:03:21 +08:00
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "TimingStreamConnect",
|
|
|
|
name: "连接直播服务器超时时间 毫秒",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "uint",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2022-06-10 16:34:25 +08:00
|
|
|
default: 5 * 1000,
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "TimingDanmakuRetry",
|
|
|
|
name: "弹幕服务器重连时间间隔 毫秒",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "uint",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2022-06-10 16:34:25 +08:00
|
|
|
default: 9 * 1000,
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "TimingWatchdogTimeout",
|
|
|
|
name: "最大未收到直播数据时间 毫秒",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "uint",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2022-06-10 16:34:25 +08:00
|
|
|
default: 10 * 1000,
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "RecordDanmakuFlushInterval",
|
|
|
|
name: "触发刷新弹幕写入缓冲的个数",
|
2021-08-13 21:03:21 +08:00
|
|
|
type: "uint",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2022-06-10 16:34:25 +08:00
|
|
|
default: 20,
|
2021-08-13 21:03:21 +08:00
|
|
|
},
|
2022-08-25 18:42:36 +08:00
|
|
|
{
|
|
|
|
id: "DanmakuTransport",
|
|
|
|
name: "使用的弹幕服务器传输协议",
|
|
|
|
type: "DanmakuTransportMode",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2023-08-19 19:05:27 +08:00
|
|
|
default: "DanmakuTransportMode.Wss",
|
2022-08-25 18:42:36 +08:00
|
|
|
},
|
2023-07-08 10:32:38 +08:00
|
|
|
{
|
|
|
|
id: "DanmakuAuthenticateWithStreamerUid",
|
|
|
|
name: "使用直播间主播的uid进行弹幕服务器认证",
|
|
|
|
type: "bool",
|
|
|
|
configType: "globalOnly",
|
|
|
|
advancedConfig: true,
|
2023-07-23 18:05:32 +08:00
|
|
|
default: false,
|
2023-07-08 10:32:38 +08:00
|
|
|
},
|
2022-05-09 22:42:08 +08:00
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "NetworkTransportUseSystemProxy",
|
|
|
|
name: "是否使用系统代理",
|
2022-05-09 22:42:08 +08:00
|
|
|
type: "bool",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: false,
|
2022-05-09 22:42:08 +08:00
|
|
|
configType: "globalOnly",
|
2022-06-10 16:34:25 +08:00
|
|
|
advancedConfig: true
|
2022-05-09 22:42:08 +08:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "NetworkTransportAllowedAddressFamily",
|
|
|
|
name: "允许使用的 IP 网络类型",
|
2022-05-09 22:42:08 +08:00
|
|
|
type: "AllowedAddressFamily",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "AllowedAddressFamily.Any",
|
2022-05-09 22:42:08 +08:00
|
|
|
configType: "globalOnly",
|
2022-06-10 16:34:25 +08:00
|
|
|
advancedConfig: true
|
2022-05-09 22:42:08 +08:00
|
|
|
},
|
2022-05-11 00:20:57 +08:00
|
|
|
{
|
2022-06-10 16:34:25 +08:00
|
|
|
id: "UserScript",
|
|
|
|
name: "自定义脚本",
|
2022-05-17 00:53:37 +08:00
|
|
|
type: "string?",
|
2022-06-10 16:34:25 +08:00
|
|
|
default: "",
|
2022-05-11 00:20:57 +08:00
|
|
|
configType: "globalOnly",
|
2022-06-10 16:34:25 +08:00
|
|
|
advancedConfig: true
|
2022-05-11 00:20:57 +08:00
|
|
|
},
|
2021-08-13 21:03:21 +08:00
|
|
|
];
|