-1

I am using the text chat tutorial from TokBox, but I'm encountering the following error(s) after I send the message (signal):

com.tokbox.android.tutorials.signaling E/MainActivity: Error Domain: SessionErrorDomain
Error Code: Session Disconnected

Please note that I'm currently hardcoding the session credentials.

Manik
  • 1,427
  • 9
  • 17
  • Welcome to stackoverflow. You must provide the code that generates this error. Please [take the tour](https://stackoverflow.com/tour) and also read [https://stackoverflow.com/help/how-to-ask – Gabriel Devillers Jul 10 '18 at 20:40

1 Answers1

0

TokBox Developer Evangelist here.

Based on your statement and the error you shared, it looks you are trying to send a signal, but you are not connected to an OpenTok session.

Please make sure that you have successfully connected to an OpenTok session before you send a signal. To do so, make sure you that you have received the onConnected event.

I recommend checking out the step by step tutorial to learn more about creating a text chat application using the OpenTok Android SDK.

Manik
  • 1,427
  • 9
  • 17