deployment

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Definition = deploy.Plugin{
	WebUI: &deploy.WebUI{Port: "signaling", Join: func(d deploy.Config, room, identity string) (map[string]string, error) {
		token, err := auth.NewAccessToken(d.APIKey, d.Secret).SetIdentity(identity).SetValidFor(10 * time.Minute).SetVideoGrant(&auth.VideoGrant{RoomJoin: true, Room: room}).ToJWT()
		return map[string]string{"token": token}, err
	}},
	ID:   "livekit",
	Name: "LiveKit",
	Ports: []deploy.Port{
		{
			ID:       "signaling",
			Name:     "Signaling",
			Protocol: "TCP",
			Default:  7880,
		},
		{
			ID:       "rtcTcp",
			Name:     "RTC",
			Protocol: "TCP",
			Default:  7881,
		},
		{
			ID:       "udpStart",
			Name:     "Media range start",
			Protocol: "UDP",
			Default:  10000,
		},
		{
			ID:       "udpEnd",
			Name:     "Media range end",
			Protocol: "UDP",
			Default:  60000,
			MinFrom:  "udpStart",
		},
	},
	Bind:          bind,
	Recipe:        livekitRecipe,
	ValidatePorts: validatePorts,
	Credentials:   true,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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