hi,
I am trying to stream audio over network
Test 1:
I tried this 2 pipe (alaw+rtp+udp)
##gst-launch -v alsasrc ! audioconvert ! volume volume=9 ! alawenc ! rtppcmapay ! udpsink host=192.168.14.45 port=5000 sync=false
##gst-launch -v udpsrc port=5000 caps="application/x-rtp, media=(string)audio, clock-rate=(int)8000, encoding-name=(string)PCMA, payload=(int)8, ssrc=(guint)772587109, clock-base=(guint)3652151312, seqnum-base=(guint)60451" ! rtppcmadepay ! alawdec ! audioconvert ! audioresample ! volume volume=3 ! alsasink
Test 2:
raw format+udp
##gst-launch -v alsasrc ! audioconvert ! volume volume=9 ! udpsink host=192.168.14.45 port=5000 sync=false
##gst-launch -v udpsrc port=5000 caps=" audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2" ! audioconvert ! audioresample ! volume volume=3 ! alsasink
In the 2 cases the cpu is always overloaded (between 95% and 99%)
i didn't found a solution for this issue
Any help will be welcome
Regards,