mediamtx/internal/core/source.go
aler9 9062dbf883 move most components into internal/core
in this way coverage can be computed correctly.
2021-07-24 16:09:52 +02:00

27 lines
363 B
Go

package core
import (
"github.com/aler9/gortsplib"
)
type source interface {
IsSource()
}
type sourceExternal interface {
IsSource()
IsSourceExternal()
Close()
}
type sourceExtSetReadyRes struct{}
type sourceExtSetReadyReq struct {
Tracks gortsplib.Tracks
Res chan sourceExtSetReadyRes
}
type sourceExtSetNotReadyReq struct {
Res chan struct{}
}