stream-video-android icon indicating copy to clipboard operation
stream-video-android copied to clipboard

Custom Event Listening Has Bugs On Net Fluctuations

Open itsshoaib249 opened this issue 8 months ago • 3 comments

Describe the bug Event listening fails or stops if turned off the net and turned on although call resumes and work perfectly (Inside room).

Code snippets: call.events .collectLatest { event ->

        Log.d("MyActivity","$event")

}

SDK version

  • 1.6.2

To Reproduce Steps to reproduce the behavior:

  1. Open a room
  2. start listening to custom events
  3. join another user
  4. host - turn off and on the net (Everything will work even Event sending too but)
  5. Host won't be able to listen to events triggers anymore.

Expected behavior On Internet Availability, Users should resume listening to events.

Device:

  • All Android

itsshoaib249 avatar May 19 '25 14:05 itsshoaib249

Hi there,

Thanks for the report. Do you maybe see this log when the error happens:

Failed to emit event to observers: [event: // Event data]

The log tag is Call:$type:$id

Regards, Alex

aleksandar-apostolov avatar May 20 '25 09:05 aleksandar-apostolov

No Alex, nothing like this is logged.

itsshoaib249 avatar May 20 '25 17:05 itsshoaib249

Any update?

itsshoaib249 avatar Sep 26 '25 03:09 itsshoaib249