I try to close my StreamInlet with inlet.close_stream() but get the following error: “data_receiver.cpp:344 ERR| Stream transmission broke off (Input stream error.)”
Why?
That’s an error from the liblsl directly; which hints that the StreamOutlet is closed first (which thus yields on the inlet a Stream transmission broke off error).
Honestly, if you are done using your inlet anyway; you can disregard this error. It’s just that you are probably not closing resources in the right order.