rtp sound streaming

sudarshan bisht bisht.sudarshan at gmail.com
Fri Jul 15 11:19:16 PDT 2011


I tried the same and my pipelines are as follows,  I have tried it in two
terminals;

gst-launch -v audiotestsrc ! audioconvert ! vorbisenc  ! rtpvorbispay !
udpsink host=127.0.0.1

gst-launch -e udpsrc ! 'application/x-rtp, media=(string)audio,
clock-rate=(int)44100, encoding-name=(string)VORBIS,
encoding-params=(string)1,
configuration=(string)AAAAAXFeFAzeAh5LAXZvcmJpcwAAAAABRKwAAAAAAACAOAEAAAAAALgBA3ZvcmJpcx0AAABYaXBoLk9yZyBsaWJWb3JiaXMgSSAyMDA5MDcwOQEAAAAaAAAAREVTQ1JJUFRJT049YXVkaW90ZXN0IHdhdmUBBXZvcmJpcyJCQ1YBAEAAACRzGCpGpXMWhBAaQlAZ4xxCzmvsGUJMEYIcMkxbyyVzkCGkoEKIWyiB0JBVAABAAACHQXgUhIpBCCGEJT1YkoMnPQghhIg5eBSEaUEIIYQQQgghhBBCCCGERTlokoMnQQgdhOMwOAyD5Tj4HIRFOVgQgydB6CCED0K4moOsOQghhCQ1SFCDBjnoHITCLCiKgsQwuBaEBDUojILkMMjUgwtCiJqDSTX4GoRnQXgWhGlBCCGEJEFIkIMGQcgYhEZBWJKDBjm4FITLQagahCo5CB+EIDRkFQCQAACgoiiKoigKEBqyCgDIAAAQQFEUx3EcyZEcybEcCwgNWQUAAAEACAAAoEiKpEiO5EiSJFmSJVmSJVmS5omqLMuyLMuyLMsyEBqyCgBIAABQUQxFcRQHCA1ZBQBkAAAIoDiKpViKpWiK54iOCISGrAIAgAAABAAAEDRDUzxHlETPVFXXtm3btm3btm3btm3btm1blmUZCA1ZBQBAAAAQ0mlmqQaIMAMZBkJDVgEACAAAgBGKMMSA0JBVAABAAACAGEoOogmtOd+c46BZDppKsTkdnEi1eZKbirk555xzzsnmnDHOOeecopxZDJoJrTnnnMSgWQqaCa0555wnsXnQmiqtOeeccc7pYJwRxjnnnCateZCajbU555wFrWmOmkuxOeecSL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ZTiZ1BzDFnqSEIMaipQkophjFDyiCmKVMKIYUhc4ohAqHFVkvFAAAAEAQACAgJADBAUDADAAwOED4HQSdAcLQBAAhCZIZINCwEhweVABExFQAkJijkAkCFxUXaxQV0GeCCLu46EEIQghDE4gAKSMDBCTc88YYn3OAEnaJSBwEAAAAAcAAADwAAxwUQEdEcRobGBkeHxwdISAAAAAAAyADABwDAIQJERDSHkaGxwdHh8QESEgAAAAAAAAAAAAQEBAAAAAAAAgAAAAQE,
payload=(int)96, ssrc=(uint)1524665496, clock-base=(uint)3565207076,
seqnum-base=(uint)14875' ! rtpvorbisdepay ! vorbisdec ! autoaudiosink


And it works for me.


On Fri, Jul 15, 2011 at 6:46 PM, xxrici <riccardo.colamatteo at gmail.com>wrote:

> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110715/203f7155/attachment.html>


More information about the gstreamer-devel mailing list