<ERROR>   [sendDCMessage] failed: the data channel is not yet ready, please try again.

Hi, I'd like to know why I get that error and what I can do to fix it. 

This usually happens if you try to send a message right after connecting to a room because the Data Channel is not yet ready.

At the moment our iOS SDK does not have a way to check if the data channel is ready yet. We suggest implementing a short wait before sending any messages after connecting to the room.

You may want to try our iOS Sample app on Github to see how we implement it: