Room

Methods

After initializing the HuddleClient, you can invoke the JoinRoom function and subscribe to the OnJoinRoom event.

 
public void JoinRoom()
{
    _huddleClientInstance.JoinRoom(_roomId);
}
 
private void SubscribeEvents() 
{
    HuddleClient.OnJoinRoom += OnRoomJoined;
    
}
 
private void UnSubscribeEvents()
{
    HuddleClient.OnJoinRoom -= OnRoomJoined;
    
}
 
private void OnRoomJoined()
{
    string localPeerId = _huddleClientInstance.GetLocalPeerId();
}
 
public void LeaveRoom()
{
    _huddleClientInstance.LeaveRoom();
}
 
Audio/Video Infrastructure designed for developers to empower them to ship simple yet powerful Audio/Video Apps.
support
company
Copyright © 2024 Graphene 01, Inc. All Rights Reserved.