Our new developer documentation is now available. Please check it out!
Peer
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 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 |
SetMuteMedias | Set IsMuted on each current associated Media |
ToString | Debug |
Dispose | Free peer with all associated medias |