Home > Forum > How to record audio from mic input to same MP4 as the video from the IP stream?

How to record audio from mic input to same MP4 as the video from the IP stream?

Aug 16, 2021
Dave McLaughlin wrote
I have an IP camera that is being recorded to an MP4. Now I want to add audio to this during recording from a suitable microphone input.

How to do this? What settings do I need. I am stuck at what should be passed to Audio_CaptureDevice
Reply
3 Answers
Aug 17, 2021
Dave McLaughlin wrote
I've managed to record the audio but I get the following error when it starts the capture.

SDK skipping an audio frame with the negative timestamp.

Aug 17, 2021
Dave McLaughlin wrote
Another question in relation to the above. I have 2 HD streams so can I share the same mic input with the second recording?
Aug 17, 2021
Roman Miniailov agent wrote
Hi

"SDK skipping an audio frame with the negative timestamp." is no error, just a warning. It may happen on some Logitech cameras.

"can I share the same mic input with the second recording" - yes, you can select the same mic for several recorders. Mics are not exclusive. You can use the same mic in several recorders or apps.