Question

Here's the pipelines

//Linux PC

gst-launch-0.10 audiotestsrc ! audio/x-raw-int, rate="(int)44100", channels="(int)1", endianness="(int)1234", width="(int)16" ! audioconvert ! vorbisenc ! oggmux max-delay=50 max-page-delay=50 ! tcpserversink host=192.168.0.101 port=36631

//Android

gst-launch-0.10 tcpclientsrc host=192.168.0.101 port=36631 ! oggdemux ! vorbisdec ! audioconvert ! audio/x-raw-int, rate="(int)44100", channels="(int)1", endianness="(int)1234", width="(int)16" ! autoaudiosink

And I get the following error message. Could not link audioconvert0 to autoaudiosink0. This pipelines works on PC, and I tried different caps but no success, also test autoaudiosrc with autoaudiosink on Android and it also works. Where is the problem?

Was it helpful?

Solution

Solved, remove quotation symbols

gst-launch-0.10 tcpclientsrc host=192.168.0.101 port=36631 ! oggdemux ! vorbisdec ! audioconvert ! audio/x-raw-int, rate=44100, channels=1, endianness=1234, width=16 ! autoaudiosink

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top