lsl_archived icon indicating copy to clipboard operation
lsl_archived copied to clipboard

Not all markers are being received

Open SwiftKayAndroid opened this issue 7 years ago • 2 comments

I'm having an issue where I have two Android apps, one is the ReceiveStringMarkers app provided in the sample and the other is a custom app. The custom app is sending the markers steadily whenever a stimulus is drawn on the screen (I have verified these markers ARE sending correctly) however the receiver app isn't always picking up the markers, or it picks up the markers out of order. Any ideas why this could be happening?

SwiftKayAndroid avatar Jul 25 '18 15:07 SwiftKayAndroid

Try the example SendStringMarkers app (with ReceiveStringMarkers) instead and see if you can reproduce the problem.

If yes, the problem is probably low network quality. I assume you are on a wireless network, and that your sending and receiving apps are not on the same device.

Try:

Eliminate, block (with electromagnetic shielding), or move away from competing networks. Get a stronger wireless router. Change the channel of your wireless network to conflict less with competing networks. Move your wireless router closer to the devices in question.

Aside:

Event ordering is not guaranteed by LSL. If that is a problem, you have to cache events as they come in, inspect their timestamps, and reorder them yourself.

mgrivich avatar Jul 25 '18 15:07 mgrivich

Thank you, I will pass this info along and see what happens!

SwiftKayAndroid avatar Jul 25 '18 15:07 SwiftKayAndroid