forked from External/mediamtx
Implement an HTTP API to query and control the server
This commit is contained in:
parent
e516d265d6
commit
ed375583d0
21 changed files with 1139 additions and 227 deletions
|
|
@ -2,12 +2,11 @@ package core
|
|||
|
||||
// source is an entity that can provide a stream, statically or dynamically.
|
||||
type source interface {
|
||||
IsSource()
|
||||
OnSourceAPIDescribe() interface{}
|
||||
}
|
||||
|
||||
// sourceStatic is an entity that can provide a static stream.
|
||||
type sourceStatic interface {
|
||||
source
|
||||
IsSourceStatic()
|
||||
Close()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue