inlet timestamp post processing could lead to timeout_error if using custom TimeUpdateInterval
cboulay opened this issue · comments
Chadwick Boulay commented
Prompted by a conversation with a user in Slack (whose issue turned out to be firewall blocking UDP), I discovered that clock offset post-processing uses a default timeout of 5.0 seconds. At least I think that's what's going on here:
liblsl/src/stream_inlet_impl.h
Line 44 in 5198054
If a user uses lsl_api.cfg and sets TimeUpdateInterval
to >= 5.0 then there's a good chance that on the first pull the inlet will timeout while waiting for the clock offset.
Lines 54 to 63 in f048715