Developer Documentation

OdinHandler.GetPeers

public IEnumerable<Peer> GetPeers(string roomId, bool includeSelf = false)

Get all remote peers inside a room

Parameters

NameTypeDescription
roomIdStringRoom identifier e.g name or token
includeSelfBooleanoptionally include Self in peers result

Returns

TypeDescription
IEnumerable<Peer>IEnumerable of RemotePeers