BililiveRecorder/BililiveRecorder.Flv/Pipeline/ProcessingPipelineSettings.cs
Genteure d7c03f4736
feat: add option to disable spliting when H264 Annex-B is detected (#614)
* 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
2024-11-22 13:55:20 +00:00

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;
}
}