sccn / lsl_archived

Multi-modal time-synched data transmission over local network
242 stars 134 forks source link

Unicast stream #157

Open kblomqvist opened 7 years ago

kblomqvist commented 7 years ago

I'm trying to stream from virtual machine running in OpenStack environment, which seems to have limited support for multicast. I found out that OptiTrack application has hard-coded setting to make LSL to work in unicast mode. Is there undocumented way to do this e.g. via lsl_api.cfg file?

dmedine commented 7 years ago

I'm not sure if this helps or not, but last March when I was visting Professor Koike's lab at the Tokyo Institute of Technology, I helped set up an experiment room with a brand new optitrack system. I had to make a new LSL app to interface with their SDK v2.9. For some reason I never pushed this into the git repository but I shall do so now.

I seem to recall there being an issue with not getting certain data in unicast mode. In anycase, I commented out the line in question.

As for your question about the configuration, I'm not sure if there is a way to do this or not. I'm not actually sure what some of these options mean. There are options to specify ranges of multicast ports that LSL can listen on. You might try limiting this to zero ports. Something like: [ports] PortRange=0 AllowRandomPorts=0

I am guessing this by looking at lines 81-84 in api_config.cpp: https://github.com/sccn/labstreaminglayer/blob/8d032fb43245be0d8598488d2cf783ac36a97831/LSL/liblsl/src/api_config.cpp#L74

On 11/23/2016 7:39 AM, Kim Blomqvist wrote:

I'm trying to stream from virtual machine running in OpenStack environment, which seems to have limited support for multicast. I found out that OptiTrack application has hard-coded setting to make LSL to work in unicast mode https://github.com/sccn/labstreaminglayer/blob/8d032fb43245be0d8598488d2cf783ac36a97831/Apps/OptiTrack/OptiTrack-v2.2/mainwindow.cpp#L16. Is there undocumented way to do this e.g. via |lsl_api.cfg| file?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sccn/labstreaminglayer/issues/157, or mute the thread https://github.com/notifications/unsubscribe-auth/ADch7vtDOwtCrC8ImwBLOwO0VA_5xmPGks5rBF5PgaJpZM4K6u8X.