Documentation
¶
Index ¶
- Constants
- func DirectStream(c *echo.Context) error
- func RegisterHealthHandlers(e *echo.Group, db *pgxpool.Pool)
- func RegisterMetadataHandlers(e *echo.Group, metadata *src.MetadataService)
- func RegisterPProfHandlers(e *echo.Echo)
- func RegisterStreamHandlers(e *echo.Group, transcoder *src.Transcoder)
- func RequirePermission(permission string) echo.MiddlewareFunc
Constants ¶
View Source
const InitSegmentName = "init.mp4"
Variables ¶
This section is empty.
Functions ¶
func DirectStream ¶
@Summary Direct video
@Description Retrieve the raw video stream, in the same container as the one on the server. @Description No transcoding or transmuxing is done.
@Tags streams @Param path path string true "Base64 of a video's path" format(base64) example(L3ZpZGVvL2J1YmJsZS5ta3YK) @Param identifier path string false "anything, this can be used for the automatic file name when downloading from the browser" example(bubble.mkv)
@Success 206 file "Video file (supports byte-requests)" @Router /:path/direct [get]
func RegisterMetadataHandlers ¶
func RegisterMetadataHandlers(e *echo.Group, metadata *src.MetadataService)
func RegisterPProfHandlers ¶
func RegisterStreamHandlers ¶
func RegisterStreamHandlers(e *echo.Group, transcoder *src.Transcoder)
func RequirePermission ¶
func RequirePermission(permission string) echo.MiddlewareFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.