1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 15:42:07 +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

@ -13,6 +13,8 @@ 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/transcoder/text"
"gitlab.crans.org/nounous/ghostream/web"
)
@ -54,9 +56,14 @@ func New() *Config {
Telnet: telnet.Options{
Enabled: false,
ListenAddress: ":8023",
Width: 80,
Height: 45,
Delay: 50,
},
Transcoder: transcoder.Options{
Text: text.Options{
Enabled: false,
Width: 80,
Height: 45,
Framerate: 20,
},
},
Web: web.Options{
Enabled: true,