Files
biliup/app/ui/plugins/cc.tsx
T
XuanRan_Nyan 58833f1819 更新 CC 平台 (#936)
* 更新 CC 平台

* 清理调试代码

* 更新虎牙线路,CC直播标题

* 修复虎牙线路屏蔽
2024-05-20 14:03:17 +00:00

36 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use client";
import React from "react";
import { Form, Select, Collapse } from "@douyinfe/semi-ui";
const CC: React.FC = () => {
return (
<>
<Collapse.Panel header="CC" itemKey="cc">
<Form.Select
field="cc_protocol"
extraText={
<div style={{ fontSize: "14px" }}>
CC直播流协议。
<br />
如果录制经常分段,尝试切换。
</div>
}
label="直播流协议(cc_protocol)"
placeholder="hls(默认)"
style={{ width: "100%" }}
fieldStyle={{
alignSelf: "stretch",
padding: 0,
}}
showClear={true}
>
<Select.Option value="flv">flv</Select.Option>
<Select.Option value="hls">hls(默认)</Select.Option>
</Form.Select>
</Collapse.Panel>
</>
);
};
export default CC;