core

package
v0.0.0-...-177ec65 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 43 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

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.

Jump to

Keyboard shortcuts

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