• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

没办法加入多播组:没有这样的设备

用户头像
it1352
帮助1

问题说明

我想使用 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?

正确答案

#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

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

where enp0s3 is my network interface's name.

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcfhjaf
系列文章
更多 icon
同类精品
更多 icon
继续加载