Record Sound on Android

cxphong caoxuanphong.khtn at gmail.com
Tue Mar 4 05:48:36 PST 2014


Hello,
I  tested stream audio from android to linux pc use pipelines:

Android (send):

*gst_parse_launch("audiotestsrc ! audioconvert ! audioresample !
audio/x-raw-int,rate=44100,width=16,channels=1 ! speexenc ! rtpspeexpay !
udpsink host=10.10.10.103 port=6666", &error);*

Linux (Receive):

*gst-launch-0.10 udpsrc port=6666 caps="application/x-rtp,
media=(string)audio, clock-rate=(int)44100, encoding-name=(string)SPEEX,
encoding-params=(string)1, payload=(int)110" ! gstrtpjitterbuffer !
rtpspeexdepay ! speexdec ! audioconvert ! audioresample ! autoaudiosink*

Received sound in Linux is too bad. I tested Linux-to-Linux, and Linux to
Android, sound quality is ok.

Maybe *speexenc* or *rtpspeexpay* on Android have problem? 

Could anyone  help me? 
Thank you!




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Record-Sound-on-Android-tp4665670p4665725.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list