BililiveRecorder/BililiveRecorder.Flv/IFlvProcessingContextWriter.cs

18 lines
475 B
C#
Raw Normal View History

2021-02-08 16:51:19 +08:00
using System;
using System.Threading.Tasks;
2021-02-23 18:03:37 +08:00
using BililiveRecorder.Flv.Amf;
2021-02-08 16:51:19 +08:00
using BililiveRecorder.Flv.Pipeline;
namespace BililiveRecorder.Flv
{
public interface IFlvProcessingContextWriter : IDisposable
{
2021-02-23 18:03:37 +08:00
Action<ScriptTagBody>? BeforeScriptTagWrite { get; set; }
Action<ScriptTagBody>? BeforeScriptTagRewrite { get; set; }
event EventHandler<FileClosedEventArgs> FileClosed;
2021-02-08 16:51:19 +08:00
Task WriteAsync(FlvProcessingContext context);
}
}