mediamtx/internal/core/reader.go
Alessandro Ros 64d9060560
add additional environment variables to custom commands (#1414) (#2356)
new variables: MTX_CONN_TYPE, MTX_CONN_ID, MTX_SOURCE_TYPE, MTX_SOURCE_ID, MTX_READER_TYPE, MTX_READ_ID
2023-09-16 21:41:49 +02:00

8 lines
139 B
Go

package core
// reader is an entity that can read a stream.
type reader interface {
close()
apiReaderDescribe() apiPathSourceOrReader
}