mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-03 07:32:19 +08:00
Support adding streams on the fly
This commit is contained in:
@@ -83,7 +83,7 @@ func fileServerHandlder(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
func statsHandler(w http.ResponseWriter, _ *http.Request) {
|
||||
v := map[string]interface{}{
|
||||
"streams": streams.Streams,
|
||||
"streams": streams.All(),
|
||||
}
|
||||
data, err := json.Marshal(v)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user