Could not join Multicast group : No such Device

六月ゝ 毕业季﹏ 提交于 2019-12-08 05:47:31

问题


I would like to stream camera data over UDP multicast using gstreamer.

For that i used below pipeline,

gst-launch-1.0 v4l2src ! videoconvert ! video/x-raw,width=720,height=576,framerate=25/1 ! x264enc ! mpegtsmux ! rtpmp2tpay ! udpsink host=224.1.1.1 port=9090 auto-multicast=true sync=true async=false qos=true

But, I am getting below error,

could not get/set settings from/on resource : gstmultiudpsink.c(948): gst_multiudpsink_configure_client (): 
Could not join Multicast group : No such Device

But, the same pipeline is working in Ubuntu14.10 64 bit PC.

It didn't work on RHEL7 64 bit PC.

These both pc's are connected to same switch.

What is the problem here? and how can i solve this problem?


回答1:


This answer helped me with a similar problem.

I configured a route for a multicast traffic with command

route add -net 224.0.0.0 netmask 224.0.0.0 enp0s3

where enp0s3 is my network interface's name.



来源:https://stackoverflow.com/questions/38998344/could-not-join-multicast-group-no-such-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!