public static bool Join(string endPoint, string token, uint samplerate, bool stereo, out Room room)
public static bool Join(OdinConnectionPoolHandle connectionPoolHandle, string endPoint, string token, uint samplerate, bool stereo, out Room room)
public static bool Join(OdinConnectionPoolHandle connectionPoolHandle, string endPoint, string token, string roomName, byte[] userData, float positionX, float positionY, float positionZ, uint samplerate, bool stereo, out Room room)
public static Room Join(OdinConnectionPoolHandle connectionPoolHandle, string endPoint, string token, string roomName, byte[] userData, float positionX, float positionY, float positionZ, uint samplerate, bool stereo)
Create and join a Room
Parameters#
Name | Type | Description |
---|
endPoint | String | Gateway server |
token | String | Join token |
samplerate | UInt32 | sets default samplerate |
stereo | Boolean | sets default stereo flag |
room | Room | Initialized room |
connectionPoolHandle | OdinConnectionPoolHandle | Connection pool for the room |
roomName | String | initial room name |
userData | Byte[] | initial userdata |
positionX | Single | initial position |
positionY | Single | initial position |
positionZ | Single | initial position |
Returns#
Type | Description |
---|
Boolean | true on successfully request join or false |
Room | true on successfully request join or false |
Variants#
Join(endPoint, token, samplerate, stereo, room)#
public static bool Join(string endPoint, string token, uint samplerate, bool stereo, out Room room)
Create and join a Room
Parameters#
Name | Type | Description |
---|
endPoint | String | Gateway server |
token | String | Join token |
samplerate | UInt32 | sets default samplerate |
stereo | Boolean | sets default stereo flag |
room | Room | Initialized room |
Returns#
Type | Description |
---|
Boolean | true on successfully request join or false |
Join(connectionPoolHandle, endPoint, token, samplerate, stereo, room)#
public static bool Join(OdinConnectionPoolHandle connectionPoolHandle, string endPoint, string token, uint samplerate, bool stereo, out Room room)
Create and join a Room
Parameters#
Name | Type | Description |
---|
connectionPoolHandle | OdinConnectionPoolHandle | Connection pool for the room |
endPoint | String | Gateway server |
token | String | Join token |
samplerate | UInt32 | sets default samplerate |
stereo | Boolean | sets default stereo flag |
room | Room | Initialized room |
Returns#
Type | Description |
---|
Boolean | true on successfully request join or false |
Join(connectionPoolHandle, endPoint, token, roomName, userData, positionX, positionY, positionZ, samplerate, stereo, room)#
public static bool Join(OdinConnectionPoolHandle connectionPoolHandle, string endPoint, string token, string roomName, byte[] userData, float positionX, float positionY, float positionZ, uint samplerate, bool stereo, out Room room)
Create and join a Room
Parameters#
Name | Type | Description |
---|
connectionPoolHandle | OdinConnectionPoolHandle | Connection pool for the room |
endPoint | String | Gateway server |
token | String | Join token |
roomName | String | initial room name |
userData | Byte[] | initial userdata |
positionX | Single | initial position |
positionY | Single | initial position |
positionZ | Single | initial position |
samplerate | UInt32 | sets default samplerate |
stereo | Boolean | sets default stereo flag |
room | Room | Initialized room |
Returns#
Type | Description |
---|
Boolean | true on successfully request join or false |
Join(connectionPoolHandle, endPoint, token, roomName, userData, positionX, positionY, positionZ, samplerate, stereo)#
public static Room Join(OdinConnectionPoolHandle connectionPoolHandle, string endPoint, string token, string roomName, byte[] userData, float positionX, float positionY, float positionZ, uint samplerate, bool stereo)
Create and join a Room
Parameters#
Name | Type | Description |
---|
connectionPoolHandle | OdinConnectionPoolHandle | Connection pool for the room |
endPoint | String | Gateway server |
token | String | Join token |
roomName | String | initial room name |
userData | Byte[] | initial userdata |
positionX | Single | initial position |
positionY | Single | initial position |
positionZ | Single | initial position |
samplerate | UInt32 | sets default samplerate |
stereo | Boolean | sets default stereo flag |
Returns#
Type | Description |
---|
Room | true on successfully request join or false |