PeerEntity
public class PeerEntity : IPeer, IDisposable
Client/Remote peer
Constructors
Name | Description |
---|---|
PeerEntity(UInt64) | Client/Remote peer |
Properties
Name | Description |
---|---|
Id | Peer id |
UserId | Peers user id |
UserData | Peer userdata |
Medias | Peer output medias |
Parent | Default value null indicates root or not set |
Public Methods
Name | Description |
---|---|
GetBasePeer | |
GetRoomApi | |
GetDecoder | Get a output media by id. |
GetOrCreateDecoder | Get a output media by id. If the decoder is not found create a new one that will be added PeerEntity |
CreateDecoder | Create a new output media that will be added to PeerEntity |
RemoveDecoder | Remove the output media from PeerEntity |
ToString | Debug |
Dispose | Free peer with all associated medias |