utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AttributeAgentName = "lk.agent.name"

Variables

This section is empty.

Functions

func WaitForAgent

func WaitForAgent(ctx context.Context, room *lksdk.Room, agentName string) (*lksdk.RemoteParticipant, error)

func WaitForParticipant

func WaitForParticipant(ctx context.Context, room *lksdk.Room, identity string, kind livekit.ParticipantInfo_Kind) (*lksdk.RemoteParticipant, error)

func WaitForTrackPublication

func WaitForTrackPublication(ctx context.Context, room *lksdk.Room, identity string, kind livekit.TrackType) (*lksdk.RemoteTrackPublication, error)

Types

type BoundedDict

type BoundedDict[K comparable, V any] struct {
	// contains filtered or unexported fields
}

func NewBoundedDict

func NewBoundedDict[K comparable, V any](maxSize int) *BoundedDict[K, V]

func (*BoundedDict[K, V]) Get

func (c *BoundedDict[K, V]) Get(key K) (V, bool)

func (*BoundedDict[K, V]) Set

func (c *BoundedDict[K, V]) Set(key K, value V)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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