Lobby

The lobby is where users can toggle with audio/video controls before joining a room.

NameTypeDescription
joinLobby(roomId: string, accessToken: string)Functionmoves the user to a pre-room lobby where they can toggle with audio/video controls before joining a room
leaveLobby()Functionremoves the user from the lobby back to the initialized state

Example

<script>
  huddleClient.initialize("YOUR_PROJECT_ID") 
  document.getElementById('joinLobby').onclick = () => {
    huddleClient.joinLobby('YOUR_ROOM_ID');
  };
 
  document.getElementById('leaveLobby').onclick = () => {
    huddleClient.leaveLobby();
  };  
</script>
Audio/Video Infrastructure designed for the developers to empower them ship simple yet powerful Audio/Video Apps.
support
company
Copyright © 2022 Graphene 01, Inc. All Rights Reserved.