Skip to content

add url, agent name, and sandboxid as query params#206

Open
tinalenguyen wants to merge 1 commit into
mainfrom
tina/connect-playground-url-agentname
Open

add url, agent name, and sandboxid as query params#206
tinalenguyen wants to merge 1 commit into
mainfrom
tina/connect-playground-url-agentname

Conversation

@tinalenguyen
Copy link
Copy Markdown
Member

this should allow links that users may click for a demo that wouldn't require livekit cloud credentials

@theomonnom
Copy link
Copy Markdown
Member

This should be using any sandboxTokenServer.

I think the simple implementation is to create a new API (Don't reuse src/pages/api/token.ts).

Let's create a new api/examples_token.ts that reads API keys from the configured examples project and generates tokens directly for that project. The agent_name can be passed as a query parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants