mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
18 lines
480 B
C#
18 lines
480 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using BililiveRecorder.Flv.Amf;
|
|
using BililiveRecorder.Flv.Pipeline;
|
|
|
|
namespace BililiveRecorder.Flv
|
|
{
|
|
public interface IFlvProcessingContextWriter : IDisposable
|
|
{
|
|
Action<ScriptTagBody>? BeforeScriptTagWrite { get; set; }
|
|
Action<ScriptTagBody>? BeforeScriptTagRewrite { get; set; }
|
|
|
|
event EventHandler<FileClosedEventArgs> FileClosed;
|
|
|
|
Task<int> WriteAsync(FlvProcessingContext context);
|
|
}
|
|
}
|