Session Options
data class SessionOptions(val room: Room? = null, val agentConnectTimeout: Duration = 20.seconds, val tokenRequestOptions: TokenRequestOptions = TokenRequestOptions(), val encryption: E2EEOptions? = null)
Options for creating a Session.
See also
Constructors
Link copied to clipboard
constructor(room: Room? = null, agentConnectTimeout: Duration = 20.seconds, tokenRequestOptions: TokenRequestOptions = TokenRequestOptions(), encryption: E2EEOptions? = null)
Properties
Link copied to clipboard
Amount of time to wait for an agent to join the room, before transitioning the Agent to the failure state.
Link copied to clipboard
End-to-end encryption options. Use the convenience constructor for E2EEOptions to enable simple encryption with a shared key.
Link copied to clipboard
The options to use when fetching the token, if it is fetching from a ConfigurableTokenSource.