Mic recording need to be hosted on the server

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mic recording need to be hosted on the server

465 Views
adityanagal
Contributor III

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

Labels (1)
0 Kudos
2 Replies

384 Views
b36401
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

384 Views
adityanagal
Contributor III

Hi Victor ,

Just to update you , gstreamer supports http and Video and Audio's can be hosted over the server using gstreamer using hlssink.

0 Kudos