serverUrl property

String? serverUrl
getter/setter pair

Compat Gateway URL. The Agora-format token passed to joinChannel is sent here; the gateway verifies it and joins the media room on the app's behalf.

An http(s):// URL is a gateway and the token is exchanged there. A ws(s):// URL is a media server reached directly, for development, and the token is passed through as the credential it already is.

Implementation

static String? serverUrl;