mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-27 12:35:35 +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);
|
|
}
|
|
}
|