Our new developer documentation is now available. Please check it out!
OdinHandler.GetPeers
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
public IEnumerable<Peer> GetPeers(string roomId, bool includeSelf = false)
Get all remote peers inside a room
Parameters
Name | Type | Description |
---|---|---|
roomId | String | Room identifier e.g name or token |
includeSelf | Boolean | optionally include Self in peers result |
Returns
Type | Description |
---|---|
IEnumerable<Peer> | IEnumerable of RemotePeers |