Skip to content

oele-isis-vanderbilt/livekit-mmla-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveKit-MMLA

This repository maintains a simple python client to Livekit MMLA API.

Currently, this client supports the following features:

  • Get the livekit token.
  • Create Rooms
  • List Rooms

This is a work in progress and more features will be added soon.

Installation

$ git clone git@github.com/oele-isis-vanderbilt/livekit-mmla-python.git
$ cd livekit-mmla-python/livekit-mmla
$ pip install .

Usage for a simple token server

First go to https://dashboard.livekit-mmla.org, and create an API key/secret pairs for your account.

Create an .env file at the root of this repository with the following content:

LIVEKIT_MMLA_SERVER_URL=https://api.livekit-mmla.org
LIVEKIT_MMLA_API_KEY=your-api-key
LIVEKIT_MMLA_API_SECRET=your-api-secret
LIVEKIT_MMLA_PROJECT=your-project-name

Then install dependencies for the token server:

$ cd livekit-mmla
$ pip install .[token-server]

Then run the token server:

$ uvicorn token_server:app --host 0.0.0.0 --port 8000

The api will be available at http://localhost:8000 and docs at http://localhost:8000/docs.

About

Simple python client to Livekit MMLA API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages