connect abstract method
Connect to the media server. Completes when the room is joined; throws VoxaTransportException on failure.
token is the credential as the app supplied it: an Agora-format
AccessToken2 ("007...") is exchanged at the Compat Gateway at url;
anything else is treated as a raw media-server token and url as the
media server itself (dev mode). channelId and identity provide the
join context the gateway exchange needs.
Implementation
Future<void> connect({
required String url,
required String token,
String? channelId,
String? identity,
});