在客户端生成令牌
有两种方法可以处理 Vivox SDK 的令牌生成
- 使用 Unity 身份验证包,请参考 基于身份验证的令牌生成.
- 创建 IVivoxTokenProvider 的实现,并使用 VivoxService.Instance.SetTokenProvider 将其注册到 Vivox SDK。 请参考 IVivoxTokenProvider 实现.
Note: If you are using the Vivox Developer Portal credentials, there is also an option to create tokens locally. Local tokens should only be used for testing purposes.