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:
17
stream/ovenmediaengine/ovenmediaengine.go
Normal file
17
stream/ovenmediaengine/ovenmediaengine.go
Normal 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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user