Commit Graph

71 Commits

Author SHA1 Message Date
David Baker
fc7a7b1799
Use union type for openidloader state
Co-authored-by: Daniel Abramov <inetcrack2@gmail.com>
2023-07-04 15:44:55 +01:00
David Baker
c5f3941ad7 Unused import 2023-07-03 17:14:46 +01:00
David Baker
5305a287fe Briefer syntax 2023-07-03 17:10:36 +01:00
David Baker
edcf9f3fd5 Use the repsonse,.ok rather than manual status code check 2023-07-03 17:07:00 +01:00
David Baker
f64bd0ab25 Unused import 2023-07-03 17:06:22 +01:00
David Baker
4524b418ff Merge remote-tracking branch 'origin/livekit' into dbkr/openid 2023-07-03 17:03:58 +01:00
David Baker
f2eabec382 Be stricter with what is passed in to the openid components 2023-07-03 16:21:56 +01:00
David Baker
9e95e8b5a7 User ID field no longer neccessary 2023-07-03 13:00:25 +01:00
Daniel Abramov
81734b852c Add simulcast layers for the screen sharing 2023-07-03 11:26:43 +01:00
Robin Townsend
17450b4531 Fix big grid crashing due to missing React import
by fixing the cause rather than the symptom: this upgrades the code to use the new, recommended JSX transform mode of React 17+, which no longer requires you to import React manually just to write JSX.
2023-06-30 18:21:18 -04:00
David Baker
23b8a61e7a Provide sfu config via context 2023-06-30 18:12:58 +01:00
David Baker
4efd88905d Move ...rest param 2023-06-30 16:13:02 +01:00
David Baker
008bb4f41d Also the other files 2023-06-28 16:42:51 +01:00
David Baker
8996aa772c Initial support for getting SFO config using OIDC
* Change `jwt_service_url` to `livekit_service_url`
 * Make it a POST so we can send the openID token sensibly
 * Get an OIDC token & pass it with the request
 * Read the SFU URL from there too

and convert the auth server accordingly, althugh with no actual OIDC
support yet, it just issues tokens blindly just as before and ignores
the openid token completely.

We'll need to update configs & the JWT service before merging this.
2023-06-28 16:35:56 +01:00
David Baker
2caaa15520 Fix username / displayname naming confusion 2023-06-27 12:23:19 +01:00
Daniel Abramov
5b4787cef6
LiveKit Device Usage Refactoring (#1120)
Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Timo K <toger5@hotmail.de>
2023-06-16 18:07:13 +02:00
Timo K
86ab2b4287 tinyFixes
Signed-off-by: Timo K <toger5@hotmail.de>
2023-06-15 11:40:16 +02:00
Timo K
a01e62d9ed revert of combined video+audio permission request
Signed-off-by: Timo K <toger5@hotmail.de>
2023-06-15 11:36:39 +02:00
Timo
41f2728724
Device from lobby to call (#1110)
* respect mute state set in lobby for call

Signed-off-by: Timo K <toger5@hotmail.de>

* move device from lobby to call

Signed-off-by: Timo K <toger5@hotmail.de>

* save device in local storage

Signed-off-by: Timo K <toger5@hotmail.de>

* local storage + fixes

Signed-off-by: Timo K <toger5@hotmail.de>

* device permissions

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
2023-06-14 19:20:53 +02:00
Daniel Abramov
048dce05c3 Explicitly configure options for the LiveKit room 2023-06-09 19:04:46 +02:00
Daniel Abramov
28fe813b76 Move LiveKit module into its own directory 2023-06-09 18:31:29 +02:00