Skip to content

Fatal Exception: io.livekit.android.room.datastream.StreamException$IncompleteException #881

@vitozhang1990

Description

@vitozhang1990

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions