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

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

问题描述

我想使用 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天全站免登陆