TurnServerResponse

@JsonClass(generateAdapter = true)
data class TurnServerResponse(@Json(name = "username") val username: String?, @Json(name = "password") val password: String?, @Json(name = "uris") val uris: List<String>?, @Json(name = "ttl") val ttl: Int?)

Ref: https://matrix.org/docs/spec/client_server/r0.6.1#get-matrix-client-r0-voip-turnserver

Constructors

Link copied to clipboard
constructor(@Json(name = "username") username: String?, @Json(name = "password") password: String?, @Json(name = "uris") uris: List<String>?, @Json(name = "ttl") ttl: Int?)

Properties

Link copied to clipboard

Required. The password to use.

Link copied to clipboard
val ttl: Int?

Required. The time-to-live in seconds

Link copied to clipboard

Required. A list of TURN URIs

Link copied to clipboard

Required. The username to use.