Skip to content

FogadOg/livekit-demo

Repository files navigation

Livekit demo

This is a livekit demo. This demo is to showcase the capabilities of livekit.

Features

  • Create and Join Rooms: Users can create public or private rooms and join existing ones.

  • Security: Rooms can be secured with a password to ensure privacy.

  • Live Streaming: Stream your audio and video to the room using the ingress feature.

  • Recording: Record your meetings and sessions using the egress feature.

  • Captions and Transcripts: View English captions in real-time and access a full transcript of the meeting.

How to run

Prerequisites

  • Install livekit
  • Livekit ingress + build and add to path
  • Python packages from requirements.txt
  • Redis installed

Next js

yarn dev

Make sure redis is running

sudo service redis-server start

Livekit server

livekit-server --config livekit-config.yaml --dev --bind 0.0.0.0

Transcription agent

python3 agent.py dev

Egress

sudo docker run --rm --cap-add SYS_ADMIN -e EGRESS_CONFIG_FILE=/out/config.yaml -v ~/livekit-egress:/out/   livekit/egress

Ingress

ingress --config ingress-config.yaml

Other

Load test

lk load-test --room roomName --publishers 5 --subscribers 2 --simulate-speakers

Ingress testing

ffmpeg -re -f lavfi -i testsrc=size=720x720:rate=30 -c:v libx264 -preset veryfast -pix_fmt yuv420p -f flv "rtmp://localhost:1935/live/streamkey"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •