Comments (7)
It occurs on this line:
[self.delegate session:self preparedDataForSending:chunk.encodedChunk];
of the ROUSession.m file.
from routp.
This might be what's happening to me too. *** Terminating app due to uncaught exception 'ROUException', reason: 'Encoded ack chunk is too short' getting thrown in [ROUAckChunk chunkWithEncodedChunk:]
from routp.
Oh I think it is because I am also trying to send some data using GKMatchSendDataUnreliable without using RoUTP since I don't need or want some data sent reliably. So it's receiving data that is 4 bytes and not 8 bytes. Would simply checking the sizeof the incoming data be a safe way to decide which way to process the data? That is, sending it through RoUTP or not.
from routp.
Hey,
You probably should be, instead of trying to distinguish between data sent with RoUTP or not, using RoUTP for both to ensure correct delivery.
I found my issue was caused by me not following the ReadMe correctly, especially with how I was setting the 'property' for it in the .h file. After changing some stuff around, it now works perfectly.
Ryan.
from routp.
Yeah some of my data packets will be much bigger than others, so it's not a good way to check.
It's just that I have some data sent at 60 updates a second and it doesn't matter if it's received or not, anything missed is discarded.
from routp.
Well, in that case, you should probably attach a flag to each data packet, that shows whether it has been compressed or not; especially if you're willing to discard packets that were not received.
from routp.
Or maybe I can just inspect the header (or lack of) and decide that way. Well, everything is working now for me if I use RoUTP for all messages. Thanks for your help. And many thanks to the maker!! (rabovik)
from routp.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from routp.