The MixedRealityToolkit is a collection of scripts and components intended to accelerate the development of mixed reality applications targeting Windows Mixed Reality.
MIT License
856
stars
275
forks
source link
MicStreamSelector doesn't work as expected when "ALREADY_RUNNING" #277
At the link below, for ALREADY_RUNNING error code, the comment says '// No need to start if it's already running.', however it's not true per my experience. I used MRTK-Unity example source code, which in ALREADY_RUNNING status it doesn't call StartStream which leads to empty buffer error, but if it calls StartStream even the status is ALREADY_RUNNING, it works as expected. So the quick fix for that example is simple (https://github.com/microsoft/MixedRealityToolkit-Unity/pull/10348), but I think it is not what you expected from the code.
I'm using latest version of MRTK-Unity (2.7.2) and Unity (2020.3.24f1).
At the link below, for
ALREADY_RUNNING
error code, the comment says '// No need to start if it's already running.', however it's not true per my experience. I used MRTK-Unity example source code, which inALREADY_RUNNING
status it doesn't callStartStream
which leads to empty buffer error, but if it callsStartStream
even the status isALREADY_RUNNING
, it works as expected. So the quick fix for that example is simple (https://github.com/microsoft/MixedRealityToolkit-Unity/pull/10348), but I think it is not what you expected from the code. I'm using latest version of MRTK-Unity (2.7.2) and Unity (2020.3.24f1).https://github.com/microsoft/MixedRealityToolkit/blob/main/Input/MicStreamSelector/Source/MicStreamSelector.cpp