无法加入多播群组:没有这样的设备 [英] Could not join Multicast group : No such Device

查看:236
本文介绍了无法加入多播群组:没有这样的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用gstreamer通过UDP多播流式传输摄像机数据.

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

但是,我遇到了错误,

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

但是,相同的管道正在Ubuntu14.10 64位PC中工作.

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

它在RHEL7 64位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?

推荐答案

答案为我解决了类似的问题.

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

其中enp0s3是我的网络接口的名称.

where enp0s3 is my network interface's name.

这篇关于无法加入多播群组:没有这样的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆