Make sure you edit the SDK license_key in your config and add the config.parameters and set the username and password. Last, make sure you change the config.host and set config.contextName to example
func getConfig()->R5Configuration{
// Set up the configuration
let config = R5Configuration()
config.host = "192.168.0.8"
config.port = 8554
config.contextName = "example"
config.`protocol` = 1;
config.buffer_time = 0.5
config.licenseKey = ""
config.parameters = "username=testuser;password=testpass;"
return config
}