Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 3.17 KB

README.md

File metadata and controls

64 lines (40 loc) · 3.17 KB

Daily Prebuilt + Transcription

Daily Prebuilt embedded into a Next.js app with live transcription.

You can check out the live demo here. Use the following URL path pattern to test with your Daily domain and room: https://prebuilt-transcription.vercel.app/your-domain/your-room-name-here

To join as owner, pass in ?t=TOKEN to the end of your URL.

Live demonstration of transcribing video call audio

Requirements

To use this demo, you will first need to create a Daily account and a Deepgram account. Once you have an account and are logged into the Daily Dashboard, you can create a new Daily room or use our REST API.

To set up transcription, you will have to enable_transcription on your Daily domain. For a full tutorial on setting up transcription, see our blog post, Add live transcription to a Daily call with our newest API.

In short, you'll need your Daily API key available in the Daily dashboard and your Deepgram API key to update your domain settings, like so:

curl --request POST \
     --url https://api.daily.co/v1/ \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer YOUR_DAILY_API_KEY' \
     --header 'Content-Type: application/json' \
     --data '{"properties": { "enable_transcription": "deepgram:YOUR_DEEPGRAM_API_KEY" }}'

Daily methods and events

This demo uses the following Daily factory methods:

This demo uses the following Daily instance methods:

This demo uses the following Daily meeting events:

Running locally

Install dependencies:

npm i

Run the dev server:

npm run dev

Locally, open http://localhost:3000 with your browser.

Deploy your own on Vercel

Deploy with Vercel