1
0
Fork 0
forked from External/mediamtx
mediamtx/internal/core/source.go
2021-10-27 21:01:00 +02:00

12 lines
265 B
Go

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