android exception
Closed this issue · 10 comments
I/ViewRootImpl@7ad0280MainActivity: ViewPostIme pointer 1
I/flutter (19190): [FINE] JanusClient: {janus: attach, transaction: 656006ef-0e0f-41ff-ba9e-fd4b487e436b, session_id: null, plugin: janus.plugin.videoroom}
I/flutter (19190): [INFO] JanusClient: using web socket transport for creating plugin handle
E/flutter (19190): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: No element
E/flutter (19190): #0 Stream.firstWhere. (dart:async/stream.dart:1703:9)
E/flutter (19190): #1 _RootZone.runGuarded (dart:async/zone.dart:1582:10)
E/flutter (19190): #2 _DoneStreamSubscription._sendDone (dart:async/stream_impl.dart:699:36)
E/flutter (19190): #3 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
E/flutter (19190): #4 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
E/flutter (19190):
This does not happen with browser.
Which version?
Wait what's the whole uri that you are using?
There must be issues with your nginx configuration
Try setting it like we do https://github.com/flutterjanus/JanusDocker/blob/main/Janus/nginx/sites-available/unified-janus.onemandev.tech.conf
Closing!