I’m using the linux sdk to access raw video data, but as I understood from the docs, this sdk cant send messages in the meeting’s chat.
How to use my meeting bot the send messages to the in-meeting chat?
Is there an API to send messages in the chat without the requirement of a bot?
The only solution I found is that I need to setup another bot with web sdk to access the chat features but then I’ll end up with 2 bots in the meeting.
Is there an API to send messages in the chat without the requirement of a bot?
No
The only solution I found is that I need to setup another bot with web sdk to access the chat features but then I’ll end up with 2 bots in the meeting.
I’m trying to achieve that in a certain event, a chat message will be sent.
The events in my application defined by .txt/.json file that gets updated each X seconds.
So, I’m trying to setup a thread that will listen to file changes and accordingly send chat messages.
@chunsiong.zoom This is a very straightforward thread, even removing the sleep it still the same.
Why chat is limited only for the main thread?
@freelancer.nak Why do you this it’s like that? what workaround could work?
Is there any event based strategy that can be implemented here at all with the chatController?
I trying queuing & dispatching messages to the main thread but it frezzes the raw video recording I’m doing…
Maybe you can help me understand it offline?
One thing that you might want to try is using something like GLib, which provides a pretty useful main loop abstraction that makes dealing with these sorts of things a bit simpler.
Then, you could edit your queueing strategy to use g_idle_add to call the function in the main loop, whenever there are no higher priority events pending. This should alleviate the freezing you’re observing in your current implementation.
We use a similar approach in our meeting bots and it works well for us.
Another alternative is to use Recall.ai for your meeting bots instead. It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video from meetings without you needing to spend months to build, scale and maintain these bots.