From bd508d42d07d2a996e73610f2065cfe19ef49ff4 Mon Sep 17 00:00:00 2001 From: Zyler <508282+zylerdj@users.noreply.github.com> Date: Sun, 25 Dec 2022 11:10:53 +0100 Subject: [PATCH] Allow livestream --- .circleci/config.yml | 5 +---- .gitignore | 3 +++ src/jwt.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c56ae89..597ed36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,10 +56,7 @@ workflows: version: 2 build_and_deploy: jobs: - - build - - build_docker: - requires: - - build + - build_docker - deploy: requires: - build_docker diff --git a/.gitignore b/.gitignore index 2cdbda9..2955e70 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,6 @@ get402.json dist/ .rabbi/config.json keys/ +downloads +.runcache +.DS_Store diff --git a/src/jwt.ts b/src/jwt.ts index 6669d35..9705322 100644 --- a/src/jwt.ts +++ b/src/jwt.ts @@ -22,7 +22,7 @@ export const generate = (privateKey, { id, name, email, avatar, appId, kid, bala moderator }, features: { - livestreaming: 'false', + livestreaming: moderator ? 'true' : 'false', recording: 'true', transcription: 'false', "outbound-call": 'false'