using System; using System.Threading.Tasks; using BililiveRecorder.Flv.Amf; using BililiveRecorder.Flv.Pipeline; namespace BililiveRecorder.Flv { public interface IFlvProcessingContextWriter : IDisposable { Action? BeforeScriptTagWrite { get; set; } Action? BeforeScriptTagRewrite { get; set; } event EventHandler FileClosed; Task WriteAsync(FlvProcessingContext context); } }