0.0.39 • Published 9 months ago

hp-livekit-sdk v0.0.39

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

hp-livekit-sdk

Conference app built using sveltekit

installation

npm install hp-livekit-sdk

implementation (Svelte)

<script>
	import { HpLivekitRoom, type Mode } from 'hp-livekit-sdk';
	import { onMount } from 'svelte';

	let url, token;

	onMount(() => {
		fetch('*endpoint').then((res) => {
			url = res?.url;
			token = res?.token;
		});
	});
</script>

{#if token && url}
	<HpLivekitRoom {url} {token} />
{/if}

HpLivekit Component props

propstyperequireddefault
urlstringrequired-
tokenstringrequired-
enableAudiobooleanoptionaltrue
enableVideobooleanoptionalfalse
modeModeoptionaldevelopment
0.0.39

9 months ago

0.0.38

9 months ago

0.0.37

9 months ago

0.0.36

9 months ago

0.0.35

9 months ago

0.0.34

9 months ago

0.0.33

9 months ago

0.0.32

9 months ago

0.0.31

9 months ago

0.0.30

9 months ago

0.0.29

9 months ago

0.0.28

9 months ago

0.0.27

9 months ago

0.0.26

9 months ago

0.0.25

9 months ago

0.0.24

9 months ago

0.0.23

9 months ago

0.0.22

9 months ago

0.0.21

10 months ago

0.0.20

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

12 months ago

0.0.2

12 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.1

1 year ago