-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0.1 _placeholder binary data isn't received correctly #214
Comments
Curvel
changed the title
_placeholder binary data isn't received correctly
1.0.1 _placeholder binary data isn't received correctly
Jul 28, 2021
Okay just saw this fix for the 2.0 release. I will try to use it on the 1.0 release. |
Okay, the fix does actually work!! I will open an PR :) |
jumperchen
added a commit
to rikulo/socket_io_common
that referenced
this issue
Jul 29, 2021
Fix rikulo/socket.io-client-dart#214 1.0.1 _placeholder binary data isn't received correctly
Please run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to use my Flutter client to receive byte data sent from my node.js server. The problem is that normal messages arrive, but byte data does not.
Trying to reproduce the behavior in the example app, I noticed that when I send from my server, the byte data is sent through a _placeholder and through a 2nd separate message.
451-[\"event.response\",{\"id\":\"81907ced-96df-49f5-91d3-4ace1659c658\",\"audioStream\":{\"_placeholder\":true,\"num\":0}}]
data = {Uint8List} size = 16606
This messages are received and can be debugged by this package. But are never emitted to the event listeners.
I tried debugging the code of this package but wasn't able to find a fix for it by now.
Maybe related to closed: #167
Setup
socket_io_client: ^1.0.1
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en-DE)
• Flutter version 2.2.3 at /Users/curvel/dev/flutter
• Framework revision f4abaa0735 (4 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
The text was updated successfully, but these errors were encountered: