rtp sound streaming

xxrici riccardo.colamatteo at gmail.com
Fri Jul 15 08:46:00 PDT 2011


Hi to all....

I have trouble with audio streaming on rtp...

on server side I write
gst-launch -v audiotestsrc ! audioconvert ! vorbisenc  ! rtpvorbispay !
udpsink host=192.168......

than from data caps:
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps =
application/x-rtp, media=(string)audio, clock-rate=(int)44100,
encoding-name=(string)VORBIS, encoding-params=(string)1,
configuration=(string)\"AAAAA...............AAAA8AAMcFEBHRHEaGxgZHh8cHSEgAAAAAAMgAwAcAwCECREQ0h5GhscHR4fEBEhIAAAAAAAAAAAAEBAQAAAAAAAIAAAAEBA\\=\\=\",
payload=(int)96, ssrc=(uint)3625060440, clock-base=(uint)2991475909,
seqnum-base=(uint)16145

 I copy data so in client side I write

gst-launch -e udpsrc caps="application/x-rtp, media=(string)audio,
clock-rate=(int)44100, encoding-name=(string)VORBIS,
encoding-params=(string)1,
configuration=(string)AAAAA...............AAAA8AAMcFEBHRHEaGxgZHh8cHSEgAAAAAAMgAwAcAwCECREQ0h5GhscHR4fEBEhIAAAAAAAAAAAAEBAQAAAAAAAIAAAAEBA,
payload=(int)96, ssrc=(uint)3625060440, clock-base=(uint)2991475909,
seqnum-base=(uint)16145"  ! rtpvorbisdepay ! vorbisdec ! autoaudiosink 

but obtaining an error:
ERRORE: dall'elemento /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Errore
interno nel flusso di dati.
Informazioni di debug aggiuntive:
gstbasesrc.c(2582): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)

Why???

Many thanks in advice to all.

Regards
Riccardo


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/rtp-sound-streaming-tp3670269p3670269.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list