流式传输到正确的网络接口
我有支持 RTSP 流媒体的网络摄像机。它通过 2 个带有 IP1 和 IP2 地址的网卡连接到路由器。我通过来自同一 IP 的 IP1 和 IP2 地址与 IP cam 建立了 2 个连接,并且我需要通过正确的网卡接收相应的流,但两个流(基于 UDP 的 RTP)都通过 IP1。如何解决这个问题?
我不知道RTSP服务器是否将UDP套接字绑定到相应的IP,也不知道IP cam中的IP堆栈是什么(弱端系统或强端系统)。我在路由器配置中没有发现任何有趣的东西。据我了解,路由表无法帮助我,因为我是从同一个 IP 连接的,对吗?也很
抱歉信息不完整,但这就是我目前所拥有的全部信息。感谢您抽出时间。
I have IP cam that supports RTSP streaming. It's connected to router with 2 network cards with IP1 and IP2 addresses. I make 2 connections to IP cam by IP1 and IP2 addresses from the same IP and I need to receive corresponding streams thru correct network card, but both streams (RTP over UDP) go thru IP1. How this can be resolved?
I don't know if RTSP server binds UDP sockets to corresponding IP and I don't know what IP stack is in IP cam (weak end system or strong end system). I haven't found anything interesting in router configuration. As I understand, routing table cannot help me cos I'm connected from the same IP, is it right? Also
Sorry for incomplete info but it's all I have at the moment. Thanks for your time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,收到了路由器供应商的答复,不,不可能通过特定网络接口发送 UDP 数据包。它使用无法关闭的负载平衡
actually, received reply from router vendor, and no, it's not possible to send UDP packet over particular network interface. it uses load balancing that cannot be turned off