You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connecting and on subsequent client connections, the web app throws an uncaught type error. Chrome points to zone.dart line 1175, firefox does the same but points to client.dart line 487.
Reopened in sdk as this issue is caused by the event emitter library, events2. I was able to fix by changing the dependency and converting the library to use https://pub.dev/packages/eventify. This workaround is not viable for most users, but does resolve the problem.
Your environment.
Version: 6512fefd01d606662228b838a8196ffff6c9ae1a
Browser: issue persists
What did you do?
flutter create . flutter build web --release
host it
Chrome
Uncaught TypeError: func.call$1 is not a function
at Client.callback$7 (event_emitter.dart:29)
at EventEmitter_emit_closure.call$1 (event_emitter.dart:64)
at Interceptor.forEach$1 (js_array.dart:257)
at Object.forEach$1$ax (main.dart.js:7204)
at Client.emit$5 (event_emitter.dart:63)
at Client._handleNotification$1 (client.dart:506)
at Object.eval (eval at Closure_forwardCallTo (js_helper.dart:2182), <anonymous>:3:41)
at Peer.callback$7 (event_emitter.dart:29)
at EventEmitter_emit_closure.call$1 (event_emitter.dart:64)
at Interceptor.forEach$1 (js_array.dart:257)
I expected it to join the room and conferencing to work.
What happened?
Client joins but hangs at waiting for others to join. You can see your own camera and hear your own audio, but you cannot hear any other participants as they never show joined to the room. The SFU logs indicate multiple peers are connected, and publishing.
The text was updated successfully, but these errors were encountered:
MichealReed
changed the title
[web] Event emitter causing error in release builds and alternative browsers -- fix found
[web] Event emitter causing error in release builds and alternative browsers -- workaround found
Jul 17, 2020
When connecting and on subsequent client connections, the web app throws an uncaught type error. Chrome points to zone.dart line 1175, firefox does the same but points to client.dart line 487.
Reopened in sdk as this issue is caused by the event emitter library,
events2
. I was able to fix by changing the dependency and converting the library to use https://pub.dev/packages/eventify. This workaround is not viable for most users, but does resolve the problem.Your environment.
What did you do?
flutter create .
flutter build web --release
host it
Chrome
Firefox:
What did you expect?
I expected it to join the room and conferencing to work.
What happened?
Client joins but hangs at waiting for others to join. You can see your own camera and hear your own audio, but you cannot hear any other participants as they never show joined to the room. The SFU logs indicate multiple peers are connected, and publishing.
The text was updated successfully, but these errors were encountered: