mediamtx

package
v0.0.0-...-72e33f6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func NewConfig

func NewConfig(host, streamProtocol string, webrtcPort, hlsPort int) (Config, error)

func (Config) DahuaEmbedPath

func (c Config) DahuaEmbedPath(stream repo.DahuaStream) string

func (Config) URL

func (c Config) URL() *url.URL

type DahuaStream

type DahuaStream struct {
	ID           int64
	DeviceID     int64
	Name         string
	Channel      int64
	Subtype      int64
	MediamtxPath string
}

Jump to

Keyboard shortcuts

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