faint-finland-12341
02/25/2025, 9:23 PMgray-monkey-83525
02/25/2025, 9:23 PMLocalParticipant.publishData
. You can set a specific topic for these messages to differentiate between different types of data, such as "yes" or "no" responses.
To count these responses, you might need to implement a mechanism on the client side to listen for these data messages and maintain a count. You can use the RoomEvent.DataReceived
event to handle incoming data messages and update your count accordingly.
Would you like more details on implementing this in a specific programming language or framework?
Sources:
- LiveKit Docs on Data Messages 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.faint-finland-12341
02/25/2025, 9:24 PMgray-monkey-83525
02/25/2025, 9:24 PM