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

Maximum packet size is 65535 bytes? How will I stream images? #55

Open
shrikky opened this issue Sep 14, 2021 · 3 comments
Open

Maximum packet size is 65535 bytes? How will I stream images? #55

shrikky opened this issue Sep 14, 2021 · 3 comments

Comments

@shrikky
Copy link

shrikky commented Sep 14, 2021

The max packet size seems to be 65535, I am not able to change it even with setMaxPacketSize function

@Kartofi
Copy link

Kartofi commented Aug 2, 2023

So almost 2 years later I am here to answer your question,
So the maximum size of a packet is 65535 bytes which is around 65 kb +- so if you can fit an image in it you are a magician.There is not magic so the only choice we have is to just split the image into parts that are 65 kb and send them then we just merge them boom

@shrikky
Copy link
Author

shrikky commented Aug 2, 2023

Yes i did divide the image into chunks and reconstructed on the client side.

@Kartofi
Copy link

Kartofi commented Aug 2, 2023

Good job and what was the project about

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