daily

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package daily provides Daily.co room and meeting token creation via the REST API (runner Daily integration).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RoomURL     string
	Token       string
	SIPEndpoint string
}

Config holds the result of configuring a Daily room (room URL, token, optional SIP endpoint).

func Configure

func Configure(ctx context.Context, opts Options) (*Config, error)

Configure creates a Daily room and meeting token. When SIPCallerPhone is set, the room is created with SIP (dial-in) and SIPEndpoint is set on the result.

type Options

type Options struct {
	APIKey              string
	APIURL              string
	RoomExpDurationHrs  float64
	TokenExpDurationHrs float64
	// SIP
	SIPCallerPhone  string
	SIPEnableVideo  bool
	SIPNumEndpoints int
}

Options configures room and token creation.

Jump to

Keyboard shortcuts

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