mediaserver

package
v0.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRemoteSharingEnabled

func IsRemoteSharingEnabled() bool

IsRemoteSharingEnabled returns true if the mediaserver is configured to allow remote (non-localhost) access to camera streams.

func Run

func Run(ctx context.Context, logger *slog.Logger, _ string) error

Types

type ImageProxyHandler added in v0.0.23

type ImageProxyHandler struct {
	// contains filtered or unexported fields
}

func NewImageProxyHandler added in v0.0.23

func NewImageProxyHandler(getSourceURL media.GetSourceURLFunc) *ImageProxyHandler

func (*ImageProxyHandler) ServeHTTP added in v0.0.23

func (h *ImageProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type WHEPHandler added in v0.0.23

type WHEPHandler struct {
	// contains filtered or unexported fields
}

func NewWHEPHandler added in v0.0.23

func NewWHEPHandler(getSourceURL media.GetSourceURLFunc, bridges *media.BridgeManager) *WHEPHandler

func (*WHEPHandler) ServeHTTP added in v0.0.23

func (h *WHEPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL