api

package
v0.0.0-...-d75065a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: GPL-3.0 Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const InitSegmentName = "init.mp4"

Variables

This section is empty.

Functions

func DirectStream

func DirectStream(c *echo.Context) error

@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 RegisterHealthHandlers

func RegisterHealthHandlers(e *echo.Group, db *pgxpool.Pool)

func RegisterMetadataHandlers

func RegisterMetadataHandlers(e *echo.Group, metadata *src.MetadataService)

func RegisterPProfHandlers

func RegisterPProfHandlers(e *echo.Echo)

func RegisterStreamHandlers

func RegisterStreamHandlers(e *echo.Group, transcoder *src.Transcoder)

func RequirePermission

func RequirePermission(permission string) echo.MiddlewareFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL