Text streams in LiveKit provide a simple way to send text between participants in real-time. They are designed for use cases such as chat, streamed LLM responses, and more. Each stream is associated with a topic, and you must register a handler to receive incoming streams for that topic. Streams can target specific participants or the entire room.
If you need to send other types of data like files, images, or binary data, LiveKit offers byte streams for those purposes.
Sources:
Realtime data | LiveKit Docs |
Sending text | LiveKit Docs