Developer Documentation
Our new developer documentation is now available. Please check it out!

Peer

public class Peer : IDisposable

Client/Remote peer

Properties

NameTypeDescription
IdUInt64Peer id
RoomNameStringAssociated room name of this peer
UserIdStringPeers user id
UserDataUserDataPeer userdata
MediasMediaCollectionAssociated medias of this peer

Public Methods

NameDescription
AddMediaAssociate a media with the peer
RemoveMediaRemove a associated media from the peer
GetMediaStreamIdsGet a copy of all ids of Media from this peer
SetMuteMediasSet IsMuted on each current associated Media
ToStringDebug
DisposeFree peer with all associated medias