Describe the bug
We have a meeting application that includes interactive annotation features.
When all devices in the meeting room are Android, there are no issues, but crashes occur occasionally after an iOS device joins.
The following crash report:
io.livekit.android.room.datastream.StreamException$IncompleteException
at io.livekit.android.room.datastream.incoming.IncomingDataStreamManagerImpl.handleStreamTrailer(IncomingDataStreamManager.kt:247)
at io.livekit.android.room.Room.onDataStreamPacket(Room.kt:1313)
at io.livekit.android.room.RTCEngine.onMessage(RTCEngine.kt:1278)
at io.livekit.android.room.RTCEngine$DataChannelObserver.onMessage(RTCEngine.kt:1303)
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@f8b1d60, Dispatchers.Main]
The annotation data is sent via here
and received via here
Device Info:
- Device: Google Pixel 6a
- OS: Android 16
- LiveKit SDK version: 2.23.1