In addition to audio and video streams, LiveKit's DataChannel supports the transmission of arbitrary structured data. This feature uses the WebRTC standard DataChannel protocol, and the transmission delay is stable within 200ms. An online collaboration platform uses this feature to achieve real-time whiteboard synchronization, which can handle 500+ drawing commands per second. Developers can send JSON, binary or text data through the publishData() API, with the "data priority" setting to ensure the transmission of critical information. Tests show that the function can still maintain a data arrival rate of over 95% in a weak network environment.
This answer comes from the articleLiveKit: an open source tool for building real-time audio and video applicationsThe































