[Gstreamer Android] No audio when using autoaudiosink sync=true
jackie
668hkjz at 163.com
Thu Aug 14 22:57:21 PDT 2014
darvin wrote
> Hi,
>
> I'm trying to play audio I receive via udp.
>
> Here's my pipeline: udpsrc port=6000 !
> application/x-rtp,media=audio,clock-rate=8000,encoding-name=PCMU,payload=0
> ! rtpjitterbuffer ! rtppcmudepay ! decodebin ! autoaudiosink
>
> When adding sync=false to the autoaudiosink it works OK but with a latency
> of about 1 second (which is to much for my application). But when I add
> sync=true the audio does not play at all. And warns about "pipeline
> Unexpected discontinuity in audio timestamps".
>
> I've tried androidmedia instead of autoaudiosink but then it says "no
> element androidmedia" even though I'm using gstreamer-1.4.0.
>
> Any ideas how to fix that? Thanks in advance.
> Kind regards.
hi, darvin,
I think the timestamps of the audio is discontinute ,so when you set sync to
false it can work well, you can
check your video source's timestamp.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-Android-No-audio-when-using-autoaudiosink-sync-true-tp4668299p4668308.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list