mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-27 12:35:35 +08:00
d7c03f4736
* feat: add option to disable spliting when H264 Annex-B is detected * add wpf ui toggles * chore: remove public api check for flv * fix warning unboxing a possibly null value * fix cli tool help text * feat(wpf): add disable split on h264annexb option for toolbox
19 lines
485 B
C#
19 lines
485 B
C#
namespace BililiveRecorder.Flv.Pipeline
|
|
{
|
|
public class ProcessingPipelineSettings
|
|
{
|
|
public ProcessingPipelineSettings()
|
|
{ }
|
|
|
|
/// <summary>
|
|
/// 控制收到 onMetaData 时是否分段
|
|
/// </summary>
|
|
public bool SplitOnScriptTag { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// 检测到 H264 Annex-B 时禁用修复分段
|
|
/// </summary>
|
|
public bool DisableSplitOnH264AnnexB { get; set; } = false;
|
|
}
|
|
}
|