steep-balloon-41261
05/31/2023, 11:22 PMbillions-summer-21168
05/31/2023, 11:22 PMsendData
from a RoomServerClient
here, but I only see one of them referenced in the docs, are they both supported?
I'm trying to send a data channel message with a topic
via the options
argument, but I'm not seeing the topic come through client side, it's always undefined. Let me know if code snippets would be helpful.billions-summer-21168
05/31/2023, 11:23 PMtopic
if that matters because of the above issue I'm having), and any time I send one, it results in an empty chat message being added to the chat prefab looking like this:billions-summer-21168
05/31/2023, 11:23 PMmagnificent-art-43333
05/31/2023, 11:25 PMdry-elephant-14928
06/01/2023, 5:00 AMdry-elephant-14928
06/01/2023, 5:01 AMsendData
are supported. It's either sending it to a select set of recipients, or everyone in the roompolite-kilobyte-67570
06/01/2023, 7:43 AMlk-chat-topic
defined here. you can customize that of course by creating your own chat with a different (or no) topic.
The chat messages for the chat prefab also satisfy a chat message interface (here), so that the chat prefab understands them.
AFAIK topics should (and do) work without a problem already from client to client. just server-sdk to client is not working as of nowpolite-kilobyte-67570
06/01/2023, 7:44 AMbillions-summer-21168
06/01/2023, 7:16 PMAFAIK topics should (and do) work without a problem already from client to clientYeah I'm sending some data messages client to client and that seems to be working as expected Good to know on topics not being supported server side, do you have an idea of when they will be supported? Also thanks for looking into those empty chat messages!
polite-kilobyte-67570
06/05/2023, 2:08 PMundefined
to be interpreted as chat messages. This is fixed in @livekit/components-react@1.0.5
.
Cloud server support for topics should be available sometime this week!billions-summer-21168
06/05/2023, 4:18 PM