mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-31 03:32:27 +00:00
9062dbf883
in this way coverage can be computed correctly.
27 lines
363 B
Go
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{}
|
|
}
|