mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-02-06 10:12:59 +00:00
18 lines
399 B
Go
18 lines
399 B
Go
|
// 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
|
||
|
}
|
||
|
}
|