Hi ,
I need to record voice using MIC and host it on the http server so it can be streamed directly to the client application.
Can we do this using alsa or gstreamer ? Please suggest.
Thanks,
Aditya Nagal
We have no any example to upload audio stream over http with gstreamer.
And I am not sure if gstreamer supports http upload at all.
You can use something like this
# gst-launch alsasrc device=hw:$micID ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=$host port=$port
to upload audio stream over the network.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Victor ,
Just to update you , gstreamer supports http and Video and Audio's can be hosted over the server using gstreamer using hlssink.