rtmp

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthRtmpPublish

func AuthRtmpPublish(Authorization string) (movieID string, err error)

func Init

func Init(rs *rtmps.Server)

func NewRtmpAuthorization

func NewRtmpAuthorization(movieID string) (string, error)

func RtmpServer

func RtmpServer() *rtmps.Server

Types

type RtmpClaims

type RtmpClaims struct {
	MovieID string `json:"m"`
	jwt.RegisteredClaims
}

Jump to

Keyboard shortcuts

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