News:

HOT TIP! Exploring the commands packaged in VC's standard configurations is a great way to learn how to build your own. You can also clone a command as a starting point: just right-click and select "Clone" (or type Alt-C).

Main Menu

VC on Windows Server - no microphone input

Started by mht, April 26, 2015, 03:08:52 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mht

I am running VC (VoxcommandoSP.exe) on a Windows Server 2012. In my setup I use pocketcontrol (pocketaudio) as microphone input. I dont use speaker in my setup. Instead I use "Speak2Wav".

When the console is active (user logged in and account not locked) it all works fine. But as soon as the console is non-active (locked) voxcommand itself runs OK exept that it doesn't get sound from the microphone. I can se that pocketcontrol has recieved audio during the non-active period but voxcommande doesn't seems to get the sound input.

In the log file i found this entry:
Input error, InvalidOperationException: Audio output and input are not supported for non-active console sessions.

A SAPI error?

Any ideas on how to do a workaround for this? Is anyone running VC as a Service?


nime5ter

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Haddood

You can find the solution in this post http://voxcommando.com/forum/index.php?topic=1705.0
I have been using it since then flawlessly
Assuming you do not mind that your server will never be locked
When Voice command gets tough, use hand gestures

mht

As I understand your recommended solution I need to RDP the server at least once to start a session and run VC.

My goal is to have a "low maintenace" setup. I.e. a server that can be restarted automatically (in case of power loss) and without need for user action to resume full operation. For that reason I think I need to run VC as a service.

Can it be so bad that there is no way to allow windows server to access input like microphone without an active console? Seems like I have to do some serious Googling on this issue...



Haddood

That as well is easy ... You can configure windows to auto login ... Many how tos on the web
When Voice command gets tough, use hand gestures