mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 07:57:13 +08:00
Add GoSRT & improvements (repo-merge)
Commits (Ingo Oppermann): - Add experimental SRT connection stats and logs - Hide /config/reload endpoint in reade-only mode - Add SRT server - Create v16 in go.mod - Fix data races, tests, lint, and update dependencies - Add trailing slash for routed directories (datarhei/restreamer#340) - Allow relative URLs in content in static routes Co-Authored-By: Ingo Oppermann <57445+ioppermann@users.noreply.github.com>
This commit is contained in:
@@ -3,8 +3,8 @@ package api
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/datarhei/core/http/api"
|
||||
"github.com/datarhei/core/rtmp"
|
||||
"github.com/datarhei/core/v16/http/api"
|
||||
"github.com/datarhei/core/v16/rtmp"
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
)
|
||||
@@ -21,9 +21,9 @@ func NewRTMP(rtmp rtmp.Server) *RTMPHandler {
|
||||
}
|
||||
}
|
||||
|
||||
// ListChannels lists all currently publishing streams
|
||||
// @Summary List all publishing streams
|
||||
// @Description List all currently publishing streams
|
||||
// ListChannels lists all currently publishing RTMP streams
|
||||
// @Summary List all publishing RTMP streams
|
||||
// @Description List all currently publishing RTMP streams
|
||||
// @ID rtmp-3-list-channels
|
||||
// @Produce json
|
||||
// @Success 200 {array} api.RTMPChannel
|
||||
|
Reference in New Issue
Block a user