I need to send a command when a user joins a session, I’m sending this command after join() API is completed, but sometime I get this error: type: 'IMPROPER_MEETING_STATE', reason: 'cmd channel not ready'
and sometimes there are no errors but still command is not received by other users.
Can you please let us know, what flags or conditions do we need to check before sending a command?
We have found some issues with sending the command message, there is a workaround for Video SDK @1.2.3. Listen to the command-channel-status event, and until the event payload is 'Connected', then send the message.
We will resolve the timing issue internally in the Video SDK next release.