1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 09:50:56 +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

View File

@ -15,6 +15,7 @@ import (
"gitlab.crans.org/nounous/ghostream/stream/srt"
"gitlab.crans.org/nounous/ghostream/stream/telnet"
"gitlab.crans.org/nounous/ghostream/stream/webrtc"
"gitlab.crans.org/nounous/ghostream/transcoder"
"gitlab.crans.org/nounous/ghostream/web"
)
@ -48,7 +49,8 @@ func main() {
streams := make(map[string]*stream.Stream)
// Start routines
go forwarding.Serve(streams, cfg.Forwarding)
go transcoder.Init(streams, &cfg.Transcoder)
go forwarding.Serve(streams, &cfg.Forwarding)
go monitoring.Serve(&cfg.Monitoring)
go srt.Serve(streams, authBackend, &cfg.Srt)
go telnet.Serve(streams, &cfg.Telnet)