mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 19:57:27 +08:00
21 lines
552 B
C#
21 lines
552 B
C#
using Autofac;
|
|
|
|
namespace BililiveRecorder.FlvProcessor
|
|
{
|
|
public class FlvProcessorModule : Module
|
|
{
|
|
public FlvProcessorModule()
|
|
{
|
|
|
|
}
|
|
|
|
protected override void Load(ContainerBuilder builder)
|
|
{
|
|
builder.Register(c => new FlvTag()).As<IFlvTag>();
|
|
builder.RegisterType<FlvMetadata>().As<IFlvMetadata>();
|
|
builder.RegisterType<FlvClipProcessor>().As<IFlvClipProcessor>();
|
|
builder.RegisterType<FlvStreamProcessor>().As<IFlvStreamProcessor>();
|
|
}
|
|
}
|
|
}
|