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