Consume

StartConsumerPeer(string peerId);

Call this function to consume individual peer. This function will invoke Event Huddle01Core.OnStartConsumingPeer once the process is successfully done

Parameters

ParamTypeDescription
peerIdstringThe peer ID of the Remote Peer to consume from.
.csharp
public void ConsumePeer(string peerId)
{
    Huddle01Core.Instance.StartConsumerPeer(peerId);
}

StopConsumePeer(string peerId,string label);

Call this function to stop consuming individual peer.This function will invoke Event Huddle01Core.OnStopConsumingPeer once the process is successfully done

Parameters

ParamTypeDescription
peerIdstringThe peer ID of the Remote Peer
.csharp
public void StopConsumePeer(string peerId)
{
    Huddle01Core.Instance.StopConsumeingPeer(roomId);
}
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.