You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This microphone in question is Microphone Array (Realtek Audio) which is a built in mic.
This runs in the context of a Windows service (class inherits fromServiceBase) and works correctly when a user is logged in or when Windows performs a session preload. However, I need it to work even when that's not the case. Basically, I'd like to activate the microphone as soon as possible, regardless of whether or not an active user session is available.
As it stands now, the file is created but no audio comes in until after a user session is established (so, n seconds of quiet and then audio once the session is active).
I'm aware of the Session 0 isolation cocept and I know I cannot "interact with the desktop" from a service (running in session 0) but all I need is to activate the microphone. I am able to activate the camera and start recording from the service using FFmpeg (-f dshow -i video="{camId}") under these conditions so, it seems reasonable to me that I should be able to activate the microphone as well.
I'd appreciate any assistance or insights.
Thanks in advance,
The text was updated successfully, but these errors were encountered:
Hello all,
First of all, great job on this project.
I'm using the below code (based on
NAudioDemo/RecordingDemo/RecordingPanel.cs
) to record the mic's output:This microphone in question is
Microphone Array (Realtek Audio)
which is a built in mic.This runs in the context of a Windows service (class inherits from
ServiceBase
) and works correctly when a user is logged in or when Windows performs a session preload. However, I need it to work even when that's not the case. Basically, I'd like to activate the microphone as soon as possible, regardless of whether or not an active user session is available.As it stands now, the file is created but no audio comes in until after a user session is established (so, n seconds of quiet and then audio once the session is active).
I'm aware of the Session 0 isolation cocept and I know I cannot "interact with the desktop" from a service (running in session 0) but all I need is to activate the microphone. I am able to activate the camera and start recording from the service using FFmpeg (
-f dshow -i video="{camId}"
) under these conditions so, it seems reasonable to me that I should be able to activate the microphone as well.I'd appreciate any assistance or insights.
Thanks in advance,
The text was updated successfully, but these errors were encountered: