mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-21 14:49:36 +08:00
Implement an HTTP API to query and control the server
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user