- 19/02/2018 at 13:12 #7905
i stumbled upon the post “access to unfiltered gaze point data in the Tobii Stream Engine” and concluded it would be interesting to test the C#/.NET version of the “Stream Engine”, because the sampling rate seems to behave differently.
But the API manual of the “Tobii.StreamEngine 126.96.36.1993” installed via NuGET in VS seems to refer to C/C++ only…
I am interested in subscribing to a raw gaze data stream in a C# console application, with an overhead as light as possible, connecting a Tobii EyeX.
I am familiar with doing so using the CoreSDK (Interaction API).
Is there an documentation about the C# API available?
Or do i misunderstand the concept of “C# language binding”, and the “Stream Engine” has to be handled differently under C# then one of the CoreSDKs?
Any starting info is highly appreciated.
Best19/02/2018 at 13:42 #7906
Sorry, that was obviously too fast.
I discovered the Interop.cs and got aware, that this is obviously “simply” using a C library in a C# project. So nothing StreamEngine specific, but a fundamental programming concept i’m not familiar with yet.
I’ll follow that route and dig there deeper…
If it is possible and sensible to roughly sketch the fundamental approach of subscribing to a gaze data stream using the C library, that would definitely help, nevertheless 😉
Best20/02/2018 at 15:13 #7910Grant [Tobii]Keymaster
hi @vwgx3, We do not have a specific C# manual since it would be more or less a copy paste from the C++ version. The mapping of all function names and parameters are 1 to 1 between the languages. Did you manage to get up and running in the end?23/02/2018 at 16:28 #7920
Hi Grant, thank you very much for offering help.
And sorry for my late reply, but i first wanted to sort out whether i should invest in this route, by comparing the fundamental properties/behaviours of the currently available software stacks for the EyeX.
I successfully implemented a rough PoC of including the StreamEninge C-Lib by implementing the “tobii_get_api_version” in a C# project and that worked. So i seem to have understood the fundamental concept.
And indeed: the API documentation has it all, i just got to get familiar with how to read it.
I’m now undecided which stack to use (actually: which type of gaze data stream), but that is better a topic for a dedicates post i’ll issue soon, after having verified that there isn’t any existing post around that question would fit into 😉
So: thanks again26/02/2018 at 11:20 #7930
- You must be logged in to reply to this topic.