1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-30 06:41:06 +02:00

Add transcoder package with text transcoder

This commit is contained in:
Alexandre Iooss
2020-10-17 19:40:37 +02:00
parent 1469bd8759
commit 23b6eeaa05
8 changed files with 112 additions and 67 deletions

16
transcoder/transcoder.go Normal file
View File

@ -0,0 +1,16 @@
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)
}