When using a JWT for authentication, if the token is incorrect and authentication fails, onMobileRTCAuthReturn is never called.
To Reproduce(If applicable)
Steps to reproduce the behavior:
Create an incorrect token (for example wrong tokenExp). Example:
“appKey”: “actual key”,
“tokenExp”: 1800 // this is wrong. it should be time since epoch
let authService = MobileRTC.shared().getAuthService()
authService!.delegate = self
authService!.jwtToken = “the token”
Note that calling sdkAuth when using key and secret, calls onMobileRTCAuthReturn if it fails. But in this case, it is never called in case of error.