From b7e0410150da9c1cd3d756c7548c32c2015652a5 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Sat, 8 Jul 2023 08:15:05 +0200 Subject: [PATCH] Update README & sample cfg with livekit config In line with the livekit updates to GroupCallView etc, modify README.md and the sample config file to contain a working configuration sample for LiveKit. --- README.md | 14 +++++++------- config/config.sample.json | 3 +++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8210bf7..d408c80 100644 --- a/README.md +++ b/README.md @@ -90,19 +90,19 @@ yarn dev Add in you `.env` in root dir with: -```yaml +```shell # Develop backend settings: LIVEKIT_KEY="devkey" LIVEKIT_SECRET="secret" ``` -Add SFU parameter in your local config `./public/config.yml`: +Add SFU parameter in your local config `./public/config.json`: -```yaml -"livekit": { - "server_url": "ws://localhost:7880", - "jwt_service_url": "http:/localhost:8881" - }, +```json +, + "livekit": { + "livekit_service_url": "http://localhost:7881" + } ``` Run backend components: diff --git a/config/config.sample.json b/config/config.sample.json index 35ad184..d87d313 100644 --- a/config/config.sample.json +++ b/config/config.sample.json @@ -5,5 +5,8 @@ "server_name": "call.ems.host" } }, + "livekit": { + "livekit_service_url": "http://localhost:7881" + }, "eula": "https://static.element.io/legal/online-EULA.pdf" }