Class Peer
Client/Remote peer
Declaration
Properties
Id
Peer id
Declaration
RoomName
Associated room name of this peer
Declaration
UserId
Peers user id
Declaration
UserData
Peer userdata
Declaration
Medias
Associated medias of this peer
Declaration
Methods
AddMedia(PlaybackStream)
Associate a media with the peer
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
Global.PlaybackStream | stream | media stream |
RemoveMedia(long)
Remove a associated media from the peer
Declaration
Returns
System.Boolean
Parameters
| Type | Name | Description |
|---|---|---|
System.Int64 | mediaStreamId | stream handle id |
GetMediaStreamIds()
Get a copy of all ids of OdinNative.Odin.Media.MediaStream from this peer
Declaration
Returns
Global.List<System.Int64>: MediaStreamIds### ToString()
Debug
Declaration
Returns
System.String: info### Dispose(bool)
Free peer with all associated medias
Declaration
Parameters
| Type | Name |
|---|---|
System.Boolean | disposing |
~Peer()
Default deconstructor
Declaration
Dispose()
Free peer with all associated medias
Declaration