Record Sound on Android "Unable to build pipeline : could not link audioconvert0 to rtpL16pay0 "

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue Feb 9 16:58:09 UTC 2016


Le samedi 06 février 2016 à 02:07 -0800, KIMSANG a écrit :
> 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
> 
> 
> add android.permission.RECORD_AUDIO permission  but
> 
> "Unable to build pipeline : could not link audioconvert0 to
> rtpL16pay0 ", 
>  I didn't find solution to this!

Are you mixing GStreamer 1.0 on Android with GStreamer 0.10 on your
linux host ? That could explain this error. I would suggest you to move
toward 1.0 on both side, and then your caps filter shall be:

  audio/x-raw,channel=1,rate=16000

cheers,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160209/43c10aa7/attachment.sig>


More information about the gstreamer-devel mailing list