Our new developer documentation is now available. Please check it out!
Peer
public class Peer : IDisposable
Client/Remote peer
Properties
Name | Type | Description |
---|---|---|
Id | UInt64 | Peer id |
RoomName | String | Associated room name of this peer |
UserId | String | Peers user id |
UserData | UserData | Peer userdata |
Medias | MediaCollection | Associated medias of this peer |
Public Methods
Name | Description |
---|---|
AddMedia | Associate a media with the peer |
RemoveMedia | Remove a associated media from the peer |
GetMediaStreamIds | Get a copy of all ids of Media from this peer |
ToString | Debug |
Dispose | Free peer with all associated medias |