live

package
v7.2.99 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 37 Imported by: 0

Documentation

Overview

Package live forwards Codex realtime WebRTC session bootstrap requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler forwards Codex live session requests through the shared auth scheduler.

func NewHandler

func NewHandler(authManager *auth.Manager, cfg *config.Config) *Handler

NewHandler creates a Codex live session handler.

func (*Handler) Close

func (h *Handler) Close()

Close releases all active Codex live sessions.

func (*Handler) Handle

func (h *Handler) Handle(c *gin.Context)

Handle forwards a WebRTC SDP bootstrap request to the Codex realtime calls endpoint.

func (*Handler) HandleSideband

func (h *Handler) HandleSideband(c *gin.Context)

HandleSideband relays live session sideband WebSocket frames bidirectionally.

func (*Handler) UpdateConfig

func (h *Handler) UpdateConfig(cfg *config.Config) error

UpdateConfig atomically applies Codex Live media relay settings to new sessions.

Jump to

Keyboard shortcuts

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