srt

package
v0.0.0-...-04b4331 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SrtStats = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "srt_stats",
		Help: "SRT stats provided by the SRT library.",
	}, []string{"stream", "stat", "type", "remoteAddr"})
)

Functions

func HandleEgressSocket

func HandleEgressSocket(socket *srtgo.SrtSocket, addr *net.UDPAddr, streamId string)

func HandleIngressSocket

func HandleIngressSocket(socket *srtgo.SrtSocket, addr *net.UDPAddr)

func ListenEgressSocket

func ListenEgressSocket(port uint16, streamId string, latency uint16)

func ListenIngressSocket

func ListenIngressSocket(port uint16, latency uint16)

func UpdateStats

func UpdateStats(socket *srtgo.SrtSocket, streamid string, streamType string, remoteAddr string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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