1507/1508 error when creating session

Downloaded latest Video-SDK example. Tried all below options:

  • Using generated JWT token from the marketplace in Constants.
  • Setting JWT Token in Constants to empty string and instead using Api Key/Secret in JWTUtil to generate JWT token on the fly.
  • Trying to generate JWT Token using SDK Key/Secret as the documentation is actually talking about SDK key/secret, not API Key/Secret. But the codebase actually uses apiKey/apiSecret for variable names so this is very confusing.

Nevertheless, upon session creation always get back error: Session error: 1508 or Session error: 1507

Which Android Video SDK version?
Latest version v1.2.2

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Open demo app
  2. Click on Create button
  3. Leave default values for session, click Create.

Smartphone (please complete the following information):

  • Device: Samsung Galaxy A52s
  • OS: Android 12

Hi @jernej.jerin, thanks for using our SDK.

Based on the error codes you are seeing, this is related to the tpc field of your JWT not matching the sessionName value you’ve provided when trying to join the session. The values of these two fields must always be the same.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.