Closed souravdivii closed 1 year ago
In the example it is shown how to send a message and the message sent is simply put into a controller and showed. It is nowhere showed how and where the channel receives the message. It is a pretty much a static send & show message code. Could you please show me where the channel is updated to receive the message send in _sendChannelMessage method ? Any help or guide is highly respected. Thanks.
I have resolved the issue, it was minor mistake. Hence, closing the thread.
Hi, I am using the rtm sdk as suggested by littleGenAI in the Agora Video SDK repo. I have been able to create client then successfully login & also created the channel. The problem I am facing now is in the below code. I am not receiving any kind of message from client nor channel. Let me know if I am missing something.
void _sendMessageToRTM() async { try { RtmMessage? message = _client?.createRawMessage(Uint8List.fromList([]), 'share_screen'); if (message != null) { _log(message.text); await _channel?.sendMessage2(message); _log('Send channel message success'); }
}