ghostream/transcoder/transcoder.go

18 lines
382 B
Go
Raw Normal View History

2020-10-18 14:14:08 +00:00
// Package transcoder manages transcoders
package transcoder
import (
"gitlab.crans.org/nounous/ghostream/stream"
"gitlab.crans.org/nounous/ghostream/transcoder/text"
)
// Options holds text package configuration
type Options struct {
Text text.Options
}
// Init all transcoders
func Init(streams map[string]*stream.Stream, cfg *Options) {
go text.Init(streams, &cfg.Text)
}