Room

Room is the place where the actual meeting takes place. It is the place where the user can interact with other peers.

NameTypeDescription
joinRoom()Functionmoves user from lobby to actual room with other peers
leaveRoom()Functionremoves user from room, back to the lobby
endRoom()FunctionEnds the room for all, only `host` has the ability to call this function

Sample Code

<script>
  huddleClient.initialize("YOUR_PROJECT_ID") 
  document.getElementById('joinRoom').onclick = () => {
    huddleClient.joinRoom();
  };
 
  document.getElementById('leaveRoom').onclick = () => {
    huddleClient.leaveRoom();
  };
 
  document.getElementById('endRoom').onclick = () => {
    huddleClient.endRoom();
  };
</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.