in the process of packaging an application (Voip) and looking at trying to automate capturing the following information to add to a config.xml file:
Default: Playback Device Name and Guid
Name: Speakers (Realtek High Definition Audio)
Default Microphone Device Name and Guid
Name: Microphone (Realtek High Definition Audio)
I've seen the following post by @trancexx, which gives me the Default Audit Device Name, but unsure how to get the Guid or the Microphone Name and Guid. I believe to get the Guid, I would need to use PKEY_AudioEndpoint_GUID but unsure how to code this. If anyone can assist or point me in the right direction it would be much appreciated.
I'm getting close to releasing a beta version of my encrypted p2p messenger I'm coding.
One feature I'de really like to implement is audio chat.
I've searched through the forum, and can't seem to find any examples of capturing audio from the microphone, without writing it to a file.
Capturing it to a file makes the audio very choppy, as bits and pieces get cut out between audio files.
I believe at one point I saw a udf that allows capturing audio directly as a stream(that I could then send as packets across the network)
Could anyone point me in the right direction, as to how to go about capturing audio as a stream of data that I could then break into packets and send?
Edit: There used to be an example in the BASS UDF, but I can't seem to locate it, or figure out exactly how to go about streaming audio with the included documentation.
I was wondering if there is a way to detect if a microphone or any hardware for that matter is plugged into the system using a autoit command.