mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-23 00:22:19 +00:00
17 lines
340 B
Go
17 lines
340 B
Go
|
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)
|
||
|
}
|