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:
16
transcoder/transcoder.go
Normal file
16
transcoder/transcoder.go
Normal 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)
|
||||
}
|
Reference in New Issue
Block a user