mediamtx/internal/core/source.go

14 lines
260 B
Go

package core
// source is an entity that can provide a stream, statically or dynamically.
type source interface {
IsSource()
}
// sourceStatic is an entity that can provide a static stream.
type sourceStatic interface {
source
IsSourceStatic()
Close()
}