I have a wireless IP cam that play sounds. I know how to play this sounds because i know the direction and the command. I tried it with this Terminal command: http://192.168.0.90/axis-cgi/playclip.cgi?clip=6
The problem is wget command download the clip and i only want to reproduce it. Beacuse i want to do into a program.
Any option to do it in terminal. Or directly from a C++ program.
Thanks in advance.
mplayer
or vlc
will stream the URL and play it as if it was a local file. As for doing it in C++, you have much more work to do (find an HTTP library, read the contents, decode it and reproduce it. Maybe the ffmpeg
library can help you here.