You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -42,12 +41,35 @@ public OpenTokSDK(int api_key, String api_secret) {
42
41
*
43
42
* Generate a token which is passed to the JS API to enable widgets to connect to the Opentok api.
44
43
*
45
-
* @session_id: Specify a session_id to make this token only valid for that session_id.
44
+
* * @session_id: Specify a session_id to make this token only valid for that session_id. Tokens generated without a valid sessionId will be rejected and the client might be disconnected.
46
45
* @role: One of the constants defined in RoleConstants. Default is publisher, look in the documentation to learn more about roles.
47
46
* @expire_time: Integer timestamp. You can override the default token expire time of 24h by choosing an explicit expire time. Can be up to 7d after create_time.
0 commit comments