core

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 45 Imported by: 0

Documentation

Overview

Package core contains the main struct of the software.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

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

Core is an instance of MediaMTX.

func New

func New(args []string) (*Core, bool)

New allocates a Core.

func (*Core) APIConfigSet added in v1.4.2

func (p *Core) APIConfigSet(conf *conf.Conf)

APIConfigSet is called by api.

func (*Core) Close

func (p *Core) Close()

Close closes Core and waits for all goroutines to return.

func (*Core) Log

func (p *Core) Log(level logger.Level, format string, args ...interface{})

Log implements logger.Writer.

func (*Core) Wait

func (p *Core) Wait()

Wait waits for the Core to exit.

Directories

Path Synopsis
Package main contains an utility to get the server version
Package main contains an utility to get the server version

Jump to

Keyboard shortcuts

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