mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
14 lines
411 B
Go
14 lines
411 B
Go
package defs
|
|
|
|
import (
|
|
"github.com/bluenviron/mediamtx/internal/conf"
|
|
"github.com/bluenviron/mediamtx/internal/stream"
|
|
)
|
|
|
|
// PathManager is a path manager.
|
|
type PathManager interface {
|
|
FindPathConf(req PathFindPathConfReq) (*conf.Path, error)
|
|
Describe(req PathDescribeReq) PathDescribeRes
|
|
AddPublisher(req PathAddPublisherReq) (Path, error)
|
|
AddReader(req PathAddReaderReq) (Path, *stream.Stream, error)
|
|
}
|