Use the getCommandClient method for the VideoClient to access the command channel client.
getCommandClient
VideoClient
Sends string text through the command channel.
const cmdChannel = client.getCommandClient() cmdChannel.send('test', userId)
The text to send.
User to send to. If you don't pass a userId, the SDK sends the message to all users.
userId
ExecutedResult
Use the
getCommandClientmethod for theVideoClientto access the command channel client.