video-api

Video component combining both starleaf and jitsi

Usage no npm install needed!

<script type="module">
  import videoApi from 'https://cdn.skypack.dev/video-api';
</script>

README

Functions: init({id}) endVideo() startVideo() createSession({userId}) deleteSession() enumerateDevices() changeDevices({videoId},{audioId}) //Changes devices

Objects activeSession //Returns current active session object availableDevices //Returns current active device list