Browse Source

remove unused code

develop
forest 2 months ago
parent
commit
2bd5867eb8
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      controllers/admin.go

+ 0
- 13
controllers/admin.go View File

@ -1,13 +0,0 @@
package controllers
import (
"net/http"
"github.com/owncast/owncast/core/rtmp"
)
// DisconnectInboundConnection will force-disconnect an inbound stream.
func DisconnectInboundConnection(w http.ResponseWriter, r *http.Request) {
rtmp.Disconnect()
w.WriteHeader(http.StatusOK)
}

Loading…
Cancel
Save