using System.Collections.Generic; using BililiveRecorder.Flv.Pipeline.Actions; namespace BililiveRecorder.Flv.Grouping.Rules { public class HeaderGroupingRule : IGroupingRule { public bool CanStartWith(Tag tag) => tag.IsHeader(); public bool CanAppendWith(Tag tag, List tags) => tag.IsHeader(); public PipelineAction CreatePipelineAction(List tags) => new PipelineHeaderAction(tags); } }