Developer Documentation

PeerEntity

public class PeerEntity : IPeer, IDisposable

Client/Remote peer

Constructors

NameDescription
PeerEntity(UInt64)Client/Remote peer

Properties

NameDescription
IdPeer id
UserIdPeers user id
UserDataPeer userdata
MediasPeer output medias
ParentDefault value null indicates root or not set

Public Methods

NameDescription
GetBasePeer
GetRoomApi
GetDecoderGet a output media by id.
GetOrCreateDecoderGet a output media by id. If the decoder is not found create a new one that will be added PeerEntity
CreateDecoderCreate a new output media that will be added to PeerEntity
RemoveDecoderRemove the output media from PeerEntity
ToStringDebug
DisposeFree peer with all associated medias