mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
25 lines
681 B
C#
25 lines
681 B
C#
using System;
|
|
|
|
namespace BililiveRecorder.FlvProcessor
|
|
{
|
|
public interface IFlvStreamProcessor : IDisposable
|
|
{
|
|
event TagProcessedEvent TagProcessed;
|
|
event StreamFinalizedEvent StreamFinalized;
|
|
|
|
IFlvMetadata Metadata { get; set; }
|
|
Func<string> GetFileName { get; set; }
|
|
uint Clip_Past { get; set; }
|
|
uint Clip_Future { get; set; }
|
|
int LasttimeRemovedTimestamp { get; }
|
|
int MaxTimeStamp { get; }
|
|
int BaseTimeStamp { get; }
|
|
int TagVideoCount { get; }
|
|
int TagAudioCount { get; }
|
|
|
|
void AddBytes(byte[] data);
|
|
IFlvClipProcessor Clip();
|
|
void FinallizeFile();
|
|
}
|
|
}
|