Darwin Streaming Server 不提供内容

发布于 2024-08-25 23:52:03 字数 188 浏览 3 评论 0原文

我在 Debian 上使用 Darwin Streaming 服务器 5.5.5 时遇到问题。 例如,当我尝试打开一些流时。 rtsp://sample.com/sample_100kbit.mp4 播放器报告无法加载流并中断连接。 “访问历史记录”部分报告已请求文件,因此,至少初始连接正常工作,但仅此而已。

可能出现什么问题以及需要检查什么?

I have problems with Darwin Streaming server 5.5.5 on Debian.
When i'm trying to open some stream, for ex. rtsp://sample.com/sample_100kbit.mp4 player reports it can't load stream and breaks connection.
"Access History" section reports file was requested, so, at least initial connection is working, but nothing more.

What can be wrong and what to check?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

眼波传意 2024-09-01 23:52:03

您使用什么客户端来流式传输文件?如果您使用 VLC,您可以获得可能有助于解决问题的其他消息信息。另一件事是检查客户端是否收到了任何应记录在访问历史日志中的数据包。

可能的问题包括:

  • UDP 数据包被阻止:客户端是否仅尝试创建 UDP 连接?服务器和客户端之间是否存在可能阻止此传输的 NAT 或防火墙?
  • 编码不正确的文件:使用哪些编解码器对音频和视频进行编码;有什么选择?例如,某些客户端可能支持h.264,但是,它们可能仅支持基线配置文件而不支持主配置文件。

您可以尝试继续进行故障排除的其他操作:

  • 查看服务器日志中的数据包/发送接收计数。
  • 下载 live555 的 RTSP 库,其中包含 openRTSP 二进制文件(您应该能够在 Debian 系统上编译它)。它为您提供了一个备用客户端,可以打印非常详细的输出,以了解您是否有任何服务器端问题。
  • 使用 Telnet 并手动向服务器发送 DESCRIBE 请求,然后查看响应以查看其是否可接受。
  • 在 darwin 流媒体服务器的传出接口上捕获数据包。这将允许您查看从服务器发送的响应以及是否所有数据包都已发送。如果您还可以在客户端设备上进行数据包捕获,则可以确认是否收到 UDP 数据包。

What client are you using to stream the file? If you are using VLC, you can get additional messages information that may help answer the problem. The other thing is to check whether the client has received any packets this should be in the access history log.

Possible problems include:

  • UDP packets blocked: does the client only attempt to create a UDP connection; is there a NAT or firewall between server and client that may be blocking this transport?
  • Improperly encoded file: what codecs were used to encode the audio and video; what options? E.g. Some clients may support h.264, however, they may only support baseline profile and not main profile.

Additional things that you can attempt to continue troubleshooting:

  • Look at the packets/sent received counts in the server logs.
  • Download live555's RTSP library that includes the openRTSP binary (you should be able to compile this on a Debian system). It gives you an alternate client that can print very verbose output to understand if you have any server-side problems.
  • Use Telnet and send a DESCRIBE request to the server by hand and look at the response to see that it looks acceptable.
  • Take a packet capture on the outgoing interface of your darwin streaming server. This will allow you to see what response was sent from the server and whether all packets are getting sent. If you can also take a packet capture on the client device, you can confirm whether UDP packets are getting received.
我恋#小黄人 2024-09-01 23:52:03

如果 DSS 和客户端之间存在 NAT,并且客户端通过 UDP 传输请求内容,则客户端无法获取内容,因为 DSS 不支持 NAT 穿越。

可能的解决方案:
1. 使用TCP传输,不受NAT影响。
2.还可以在DSS中添加NAT支持,并不复杂。

If there is NAT between DSS and the client, and the client is requesting content via UDP transport, the client could not get the content since DSS doesn't support NAT traversal.

Possible solutions:
1. Use TCP transport, which is not affected by NAT.
2. You can also add NAT support in DSS, not complex.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文