Hi Dobes,
Thanks a lot for your feedback.
I can stream the remote IP cam and its working perfectly.

My problem is that I can't find a tutorial with the same setup, as I mentioned i don't want this records to be exposed in the client interface as video to play, I just need it silently stored on a file, then I will offer it to the client in a frame manner (frame by frame) using Apache in a different interface.
Attaching my index.js maybe you can take a look and advise what is missing.
Thanks in advance.