|
|
|
|
@ -117,6 +117,7 @@ Special purpose documents for channling
@@ -117,6 +117,7 @@ Special purpose documents for channling
|
|
|
|
|
"Suserid": "", |
|
|
|
|
"Token": "some-very-long-string", |
|
|
|
|
"Version": "server-version-number", |
|
|
|
|
"ApiVersion": 1.4, |
|
|
|
|
"Turn": { |
|
|
|
|
"username": "turn-username", |
|
|
|
|
"password": "turn-password", |
|
|
|
|
@ -139,11 +140,16 @@ Special purpose documents for channling
@@ -139,11 +140,16 @@ Special purpose documents for channling
|
|
|
|
|
Type : Self (string) |
|
|
|
|
Id : Public Session id for this connection (string). |
|
|
|
|
Sid : Secure (non public) id for this session (string). |
|
|
|
|
Userid : User id if this session belongs to an authenticated user. Else empty. |
|
|
|
|
Suserid : Secure (non public) user id if session has an user id. Else empty. |
|
|
|
|
Token : Security token (string), to restablish connection with the same |
|
|
|
|
session. Pass the value as URL query parameter t, to the websocket URL. |
|
|
|
|
Userid : User id if this session belongs to an authenticated user. |
|
|
|
|
Else empty. |
|
|
|
|
Suserid : Secure (non public) user id if session has an user id. |
|
|
|
|
Else empty. |
|
|
|
|
Token : Security token (string), to restablish connection with the |
|
|
|
|
same session. Pass the value as URL query parameter t, to |
|
|
|
|
the websocket URL. |
|
|
|
|
Version : Server version number. Use this to detect server upgrades. |
|
|
|
|
ApiVersion : Server channeling API base version. Use this version to select |
|
|
|
|
client side compatibility with the connected server. |
|
|
|
|
Turn : Mapping (interface{}) to contain TURN server details, like |
|
|
|
|
urls, password and username. See |
|
|
|
|
http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00 |
|
|
|
|
|