Mic recording need to be hosted on the server

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Mic recording need to be hosted on the server

473件の閲覧回数
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

ラベル(1)
0 件の賞賛
2 返答(返信)

392件の閲覧回数
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 件の賞賛

392件の閲覧回数
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 件の賞賛