Skip to content

Minimal setup to test audio transcription using livekit-agents STT node

Notifications You must be signed in to change notification settings

OpenVidu/livekit-agents-transcription-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

livekit-agents-transcription-test

Minimal setup to test audio transcription using livekit-agents STT node (with Amazon Transcribe)

  1. Build the agent container

    docker build -t livekit/transcription-agent-test:latest agent/.
  2. Export requried env vars and start the agent

    # Export your LiveKit Cloud credentials
    export LIVEKIT_URL=wss://xxxxxxxx.livekit.cloud
    export LIVEKIT_API_KEY=your_livekit_cloud_api_key
    export LIVEKIT_API_SECRET=your_livekit_cloud_api_secret
    
    # Export your AWS credentials
    export AWS_ACCESS_KEY_ID=your_access_key_id
    export AWS_SECRET_ACCESS_KEY=your_secret_access_key
    export AWS_DEFAULT_REGION=your_aws_region
    
    # Start the agent
    docker compose up -d
  3. Set up your LiveKit Cloud credentials in the webapp HTML right here:

    const LIVEKIT_URL = "wss://xxxxxxxx.livekit.cloud";
    const LIVEKIT_API_KEY = "your_livekit_cloud_api_key";
    const LIVEKIT_API_SECRET = "your_livekit_cloud_api_secret";
  4. Run the webapp

    cd webapp
    npm install
    npm start
  5. Open http://localhost:3000 in your browser and test.

About

Minimal setup to test audio transcription using livekit-agents STT node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors