Unable to build pipeline: no element "alsasink"

Sebastian Dröge sebastian at centricular.com
Mon Feb 15 22:19:44 UTC 2016


On Mi, 2016-02-10 at 14:19 -0800, alwaysthinktwice wrote:
> I wanna recive audio on my android using Tutorial2 but I have error
> response
> "Unable to build pipeline: no element alsasink". This is my line in
> android
> program data->pipeline = gst_parse_launch("tcpclientsrc host=IP
> port=port!
> gdpdepay ! vorbisdec ! audioconvert ! alsasink", &error);

There is no alsasink on Android. Use openslessink, or autoaudiosink as
it is used here:
https://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials/android-tutorial-2/jni/tutorial-2.c#n149

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160216/950e96eb/attachment.sig>


More information about the gstreamer-devel mailing list