Developer Documentation

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

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