OdinPeer
Class to handle ODIN peers.
A peer represents a client that has joined an ODIN room.
Properties
id
The ID of the peer.
userId
The user identifier of the peer specified during authentication.
userData
A byte array with arbitrary user data attached to the peer.
medias
An array of current medias of the peer.
activeMedias
An array of current active medias of the peer.
Methods
hash(into:)
Hashes the essential components of the peer by feeding them into the given hasher.
==(_:_:)
Returns a value indicating whether two type-erased hashable instances wrap the same peer.