multicast udpsink fails

classic Classic list List threaded Threaded
3 messages Options
JPM
Reply | Threaded
Open this post in threaded view
|

multicast udpsink fails

JPM
Hi,

I am trying to send one audio stream to several clients using multicast with this pipeline :

gst-launch-1.0 -v audiotestsrc ! audioconvert ! audioresample ! audio/x-raw,format=S16LE,channels=1,rate=44100 ! udpsink host=224.1.1.1 auto-multicast=true port=3000

But appear the following error :

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could not get/set settings from/on resource.
Additional debug info:
gstmultiudpsink.c(844): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/GstUDPSink:udpsink0:
Could not join multicast group: Error joining multicast group: No such device
Setting pipeline to NULL ...
Freeing pipeline ...

Any help ?

Thanks and regards.
 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: multicast udpsink fails

Mariusz Buras
You need to force at least ip4 on udpsink. Also you probably want to payload your data before udpsink.



On 12 February 2014 17:58, JPM <[hidden email]> wrote:
Hi,

I am trying to send one audio stream to several clients using multicast with this pipeline :

gst-launch-1.0 -v audiotestsrc ! audioconvert ! audioresample ! audio/x-raw,format=S16LE,channels=1,rate=44100 ! udpsink host=224.1.1.1 auto-multicast=true port=3000

But appear the following error :

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could not get/set settings from/on resource.
Additional debug info:
gstmultiudpsink.c(844): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/GstUDPSink:udpsink0:
Could not join multicast group: Error joining multicast group: No such device
Setting pipeline to NULL ...
Freeing pipeline ...

Any help ?

Thanks and regards.
 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: multicast udpsink fails

Sebastian Dröge-3
In reply to this post by JPM
On Mi, 2014-02-12 at 18:58 +0100, JPM wrote:

> Hi,
>
> I am trying to send one audio stream to several clients using multicast
> with this pipeline :
>
> gst-launch-1.0 -v audiotestsrc ! audioconvert ! audioresample !
> audio/x-raw,format=S16LE,channels=1,rate=44100 ! udpsink host=224.1.1.1
> auto-multicast=true port=3000
>
> But appear the following error :
>
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could not
> get/set settings from/on resource.
> Additional debug info:
> gstmultiudpsink.c(844): gst_multiudpsink_configure_client ():
> /GstPipeline:pipeline0/GstUDPSink:udpsink0:
> Could not join multicast group: Error joining multicast group: No such
> device
> Setting pipeline to NULL ...
> Freeing pipeline ...
Which version of GStreamer are you using? 1.0.x or 1.2.x? It should work
like that with 1.2.x but probably fails in 1.0.x without forcing ipv4 as
someone else mentioned already.

Can you provide a complete debug log? Which platform are you running
this on?

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment