Record Sound on Android

stic at free.fr stic at free.fr
Wed Jun 18 11:24:04 PDT 2014


Hi,
I think you should use audio/x-raw instead of audio/x-raw-int in caps.

Cheers

----- Mail original -----
De: "Puyol" <paul9510 at hotmail.fr>
À: gstreamer-devel at lists.freedesktop.org
Envoyé: Mercredi 18 Juin 2014 17:55:49
Objet: Re: Record Sound on Android

Hello,
when i use 
Android: 
  openslessrc ! audioconvert  ! audio/x-raw-int, channels=1, rate=16000 !
rtpL16pay ! udpsink host=10.10.10.100 port=5000

Receive: 
gst-launch-0.10 -v udpsrc port=5000 caps ="application/x-rtp,
media=(string)audio, clock-rate=(int)16000, channels=(int)1,
payload=(int)96"  !   rtpL16depay ! audioconvert ! alsasink sync=false

in Android I face an error : Error received from element openslessrc0 :
Could not negociate format 
did any one know what's the problem, Thanks!



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Record-Sound-on-Android-tp4665670p4667561.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list