diff --git a/plugins/icecast/output/instance.go b/plugins/icecast/output/instance.go index 6a08f64..e04aa77 100644 --- a/plugins/icecast/output/instance.go +++ b/plugins/icecast/output/instance.go @@ -1,18 +1,14 @@ package icecast_output import ( - "bytes" "fmt" "io" "log" - "runtime" "git.icedream.tech/icedream/uplink/app/authentication" "git.icedream.tech/icedream/uplink/app/channels" - "git.icedream.tech/icedream/uplink/app/media" "git.icedream.tech/icedream/uplink/app/servers/http" "git.icedream.tech/icedream/uplink/app/streams" - humanize "github.com/dustin/go-humanize" "github.com/gin-gonic/gin" ) @@ -29,7 +25,6 @@ func (instance *pluginInstance) SetAuthenticator(authenticator authentication.Au func (instance *pluginInstance) SetChannelManager(channelManager *channels.ChannelManager) { instance.channelManager = channelManager - // TODO - handle channel and container closure } @@ -38,8 +33,6 @@ func (instance *pluginInstance) SetServer(server *httpserver.Server) { } func (instance *pluginInstance) Init() { - instance.ringBuffers = map[string]map[string]*rbuf.FixedSizeRingBuf{} - router := instance.server.Router router.GET("/:channel/:container", func(ctx *gin.Context) {