1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 09:08:50 +02:00

Use config file for OME broadcasting

This commit is contained in:
Yohann D'ANELLO
2020-11-09 17:18:37 +01:00
parent cfcde6f530
commit 3d8ba0623d
10 changed files with 55 additions and 11 deletions

View File

@ -0,0 +1,17 @@
// Package ovenmediaengine provides the forwarding to an ovenmediaengine server to handle the web client
package ovenmediaengine
import "gitlab.crans.org/nounous/ghostream/messaging"
// Options holds ovenmediaengine package configuration
type Options struct {
Enabled bool
URL string
App string
}
func Serve(streams *messaging.Streams, cfg *Options) {
if !cfg.Enabled {
return
}
}