sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
119 stars 70 forks source link

Only one stream found when no WiFi is available (Android) #207

Open pmaanen opened 12 months ago

pmaanen commented 12 months ago

I am currently maintaining an application that records LSL streams on Android using liblsl 1.16.2. Recently we noticed that whenever we open stream outlets (in another app) and wifi is disabled or no wifi network is available, our recorder only sees one stream, I could also replicate this behaviour in a minimal example. The previous version of our app using an ancient version of liblsl (1.13) does not have this problem. I have the feeling this is somehow related to #204 and possibly #92. Acquiring a multicast lock solves the problem on some devices but does not solve the problem on others.

pmaanen commented 11 months ago

The offending commit is 062dc6eb. Unfortunately I do not know enough about networks to understand what went wrong.