I’ve been using the information here:
To capture images and video from the HoloLens.
All is working great apart from if I capture video using the option AudioState.None when calling StartVideoModeAsync (which is the AudioState used in the example given). We put StopVideoModeAsync and all the clean up and disposing of the video resources on the selection of a UI object which then meant we got an mp4 video saved out to the data path as expected. However at this point voice commands on the HoloLens in our app, all other other apps and also in the main menu (Cortana) etc. all stopped working even after our video recording had been cleanly stopped and our app exited. Even a re-boot wouldn’t enable voice, only a full reset from the Hololens settings menu thus setting the HoloLens up from scratch resolved it.
Recording with AudioState.MicAudio doesn’t show this behaviour and all voice commands carry on working in the app (even during a recording) and on the main menu etc. as expected.
Is there a way to get the microphone and voice commands etc. enabled again after capturing a video with AudioState.None? Is there some extra code needed after stopping the recording to re-enable the mic?
In the future it would be ideal if you could record a video with AudioState.None and still have voice commands work even during the recording, this should be possible by leaving the microphone active while writing a blank audio stream to the movie (and is really what I would think is the expected behaviour). As an initial step I’ll take being able to re-activate the microphone on stopping recording as I ask above.