udpsrc fails to join multicast group

classic Classic list List threaded Threaded
2 messages Options
G.B
Reply | Threaded
Open this post in threaded view
|

udpsrc fails to join multicast group

G.B
Hi,

When trying to receive multicast streams with udpsrc, I got the following erros:

0:00:01.935880519   840    0x15080 DEBUG              rtspsrc gstrtspsrc.c:2140:gst_rtspsrc_stream_configure_mcast:<src> creating UDP sources for multicast
0:00:01.965450482   840    0x15080 DEBUG               udpsrc gstudpsrc.c:611:gst_udpsrc_update_uri:<udpsrc0> updated uri to udp://224.1.1.1:6002
0:00:01.968627778   840    0x15080 DEBUG               udpsrc gstudpsrc.c:804:gst_udpsrc_start:<udpsrc0> allocating socket for 224.1.1.1:6002
0:00:01.971835852   840    0x15080 DEBUG               udpsrc gstudpsrc.c:821:gst_udpsrc_start:<udpsrc0> binding on port 6002
0:00:01.974090963   840    0x15080 DEBUG               udpsrc gstudpsrc.c:868:gst_udpsrc_start:<udpsrc0> have udp buffer of 103424 bytes
0:00:01.976310037   840    0x15080 DEBUG               udpsrc gstudpsrc.c:892:gst_udpsrc_start:<udpsrc0> joining multicast group 224.1.1.1
0:00:01.979197593   840    0x15080 WARN                udpsrc gstudpsrc.c:947:gst_udpsrc_start:<udpsrc0> error: could add membership -1: No such device

The multicast streams from the server to multicast group 224.1.1.1 works fine as I can use another pc running VLC to receive it without problem.
Any idea on why gst complains? Any system setup requirements for gst udpsrc to work? Thanks a ton!


     

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: udpsrc fails to join multicast group

Tristan Matthews-2
I think you have to specify the multicast-iface property on udpsrc with the name of the network interface you want to use (e.g. eth0)

-Tristan

2010/1/16 gather bzbz <[hidden email]>
Hi,

When trying to receive multicast streams with udpsrc, I got the following erros:

0:00:01.935880519   840    0x15080 DEBUG              rtspsrc gstrtspsrc.c:2140:gst_rtspsrc_stream_configure_mcast:<src> creating UDP sources for multicast
0:00:01.965450482   840    0x15080 DEBUG               udpsrc gstudpsrc.c:611:gst_udpsrc_update_uri:<udpsrc0> updated uri to udp://224.1.1.1:6002
0:00:01.968627778   840    0x15080 DEBUG               udpsrc gstudpsrc.c:804:gst_udpsrc_start:<udpsrc0> allocating socket for 224.1.1.1:6002
0:00:01.971835852   840    0x15080 DEBUG               udpsrc gstudpsrc.c:821:gst_udpsrc_start:<udpsrc0> binding on port 6002
0:00:01.974090963   840    0x15080 DEBUG               udpsrc gstudpsrc.c:868:gst_udpsrc_start:<udpsrc0> have udp buffer of 103424 bytes
0:00:01.976310037   840    0x15080 DEBUG               udpsrc gstudpsrc.c:892:gst_udpsrc_start:<udpsrc0> joining multicast group 224.1.1.1
0:00:01.979197593   840    0x15080 WARN                udpsrc gstudpsrc.c:947:gst_udpsrc_start:<udpsrc0> error: could add membership -1: No such device

The multicast streams from the server to multicast group 224.1.1.1 works fine as I can use another pc running VLC to receive it without problem.
Any idea on why gst complains? Any system setup requirements for gst udpsrc to work? Thanks a ton!




------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Tristan Matthews
email: [hidden email]
web: http://tristanswork.blogspot.com

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel