/

Configure iOS Authentication


Configure iOS Authentication

Watch a demonstration of the current section
  1. Open your Xcode project that you setup in the 3rd Video of the series www.youtube.com/watch?v=blRq4aUjbd8&list=PLl9CIHBHdK7aUHA52ZaCkXJXoL17Fgf&index=3
  2. Make sure you edit the SDK licensekey 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
        }