mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
26 lines
363 B
Go
26 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{}
|
|
}
|