How to stream audio of camera in C# [Resolved]

Posted by Acastillo under C# on 2/20/2015 | Points: 10 | Views : 750 | Status : [Member] | Replies : 2
Hi all,

I have a Microsoft USB webcam and I want to record the video/audio stream. I found a very useful http://www.camera-sdk.com for a 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:

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




Responses

Posted by: Jitendrasoft09 on: 2/20/2015 [Member] [MVP] Starter | Points: 50

Up
0
Down

Resolved
Hi,

It seems to look different object of Mediaconnector trying to access audio and video records, please refer below link and code snippet for more details-

http://www.camera-sdk.com/p_52-how-to-record-audio-and-video-stream-into-mpeg-4-onvif.html

_connector.Connect(_camera.AudioChannel, _mpeg4Recorder.AudioRecorder);

_connector.Connect(_camera.VideoChannel, _mpeg4Recorder.VideoRecorder);


Jitendra Kumar
If my post helps you, plz mark as an answer.

Acastillo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Acastillo on: 2/23/2015 [Member] Starter | Points: 25

Up
0
Down
Thanks very much!

Acastillo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response