mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 11:32:19 +00:00
Export config
This commit is contained in:
parent
b52f377b6b
commit
a20c6202fd
@ -22,8 +22,10 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Serve handles incoming packets from SRT and forward them to OME
|
// Serve handles incoming packets from SRT and forward them to OME
|
||||||
func Serve(streams *messaging.Streams, cfg *Options) {
|
func Serve(streams *messaging.Streams, c *Options) {
|
||||||
if !cfg.Enabled {
|
cfg = c
|
||||||
|
|
||||||
|
if !c.Enabled {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user