Click here to Skip to main content
15,888,241 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have a Microsoft USB webcam and I want to record the video/audio stream. I found a very useful C# web camera software but I don’t get any audio from the camera’s microphone. Here is the code I am trying to employ:

C#
connector.Connect(_camera, _mpeg4Recorder.AudioRecorder); //This does not work
_connector.Connect(_camera, _mpeg4Recorder.VideoRecorder);


Can you help me with this issue I am pretty clueless here.
Posted
Comments
TheRealSteveJudge 20-Feb-15 8:20am    
Have you also tried the demo programme which is included in the SDK?

 
Share this answer
 
Thanks for the answers, in the meantime I could figure it out myself. I made a mistak in the code.

connector.Connect(_microphone,_mpeg4Recorder.AudioRecorder);

This is the right one, first i tried to connect the camera to the _mpeg4Recorder.AudioRecorder instead of the microphone. My bad, but thank you!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900