Skip to content
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

How to send byte data ? #133

Open
jerryzhoujw opened this issue Jul 2, 2020 · 0 comments
Open

How to send byte data ? #133

jerryzhoujw opened this issue Jul 2, 2020 · 0 comments
Assignees

Comments

@jerryzhoujw
Copy link

Describe the bug
How to send byte data ?

I'm trying to send byte data(which is audio data) using socket IO. but get error

Unhandled Exception: Invalid argument: TypedDataView(cid: 147)

      ByteBuffer _buffer = data.buffer;
      ByteData _byteData = _buffer.asByteData();
      _socketIO?.emitWithAck('eventName', [_byteData]);

Have you tried reproducing the issue with example available in this repo?
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants