Error- call with gstreamer

Leonardo Jose Duarte MendesJunior leodmendesjr at gmail.com
Wed Feb 27 14:19:56 UTC 2019


I'm trying to do a call with gstreamer.

This is my pipeline tx:

gst-launch-1.0 autoaudiosrc ! decodebin ! audioconvert ! tee name=split !
queue ! rtpL16pay ! udpsink host=192.168.10.142 port=5000 name=teste
autoaudiosrc ! audioconvert ! audioresample ! lamemp3enc

This is my pipeline rx:

gst-launch-1.0 udpsrc port=5000 name=teste caps="application/x-rtp,
media=(string)audio, format=(string)S32LE, layout=(string)interleaved,
clock-rate=(int)48000, channels=(int)2, payload=(int)0" ! rtpL16depay !
playsink autoaudiosrc ! audioconvert ! audioresample ! lamemp3enc
But when I compile the pipeline(tx), I had this issue:
root at apalis-imx6:~# gst-launch-1.0 autoaudiosrc ! decodebin ! audioconvert
! tee name=split ! queue ! rtpL16pay ! udpsink host=192.168.10.142
port=5000 name=teste autoaudiosrc ! audioconvert ! audioresample !
lamemp3enc
Setting pipeline to PAUSED ...
xcb_connection_has_error() returned true
xcb_connection_has_error() returned true
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
Redistribute latency...
Redistribute latency...
Redistribute latency...
ERROR: from element
/GstPipeline:pipeline0/GstAutoAudioSrc:autoaudiosrc1/GstAlsaSrc:autoaudiosrc1-actual-src-als:
Internal data stream error.
Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop ():
/GstPipeline:pipeline0/GstAutoAudioSrc:autoaudiosrc1/GstAlsaSrc:autoaudiosrc1-actual-src-als:
streaming stopped, reason not-linked (-1)
Execution ended after 0:00:00.184586219
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root at apalis-imx6:~#

And when I compile the pipeline(rx), I has this issue:

gst-launch-1.0 udpsrc port=5000 name=teste caps="application/x-rtp,
media=(string)audio, format=(string)S32LE, layout=(string)interleaved,
clock-rate=(int)48000, channels=(int)2, payload=(int)0" ! rtpL16depay !
playsink autoaudiosrc ! audioconvert ! audioresample ! lamemp3enc Setting
pipeline to PAUSED ... xcb_connection_has_error() returned true Pipeline is
live and does not need PREROLL ... Setting pipeline to PLAYING ... New
clock: GstAudioSrcClock xcb_connection_has_error() returned true
Redistribute latency... Redistribute latency... ERROR: from element
/GstPipeline:pipeline0/GstAutoAudioSrc:autoaudiosrc0/GstAlsaSrc:autoaudiosrc0-actual-src-als:
Internal data stream error. Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop ():
/GstPipeline:pipeline0/GstAutoAudioSrc:autoaudiosrc0/GstAlsaSrc:autoaudiosrc0-actual-src-als:
streaming stopped, reason not-linked (-1) Execution ended after
0:00:00.558359874 Setting pipeline to PAUSED ... Setting pipeline to READY
... Setting pipeline to NULL ... Freeing pipeline ... root at apalis-imx6:~#

Someone do you have any ideia?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20190227/35f6c9b4/attachment.html>


More information about the gstreamer-embedded mailing list