Wowza 4 vod 录播多层目录无法播放问题
找到一个解决方案,但是无法下载zip包
https://stackoverflow.com/questions/21303361/how-to-stream-mp4-files-from-subdirectories-with-flowplayer
怕失效,原文贴出来:
|
I am using Wowza Media Server to enable streaming of MP4 files and as video player I use Flowplayer. To get some structure for my content I use sub directories within the configured The problem I have is that no matter what URL-format I use, Wowza keep looking for the file in the root storage directory. I've tried using the URL format specified by Wowza here, but with no luck:
I also tried everything suggested in posts on the Wowza forum:
But Wowza keeps looking in the root storage directory, throwing exceptions like these:
Somehow Wowza thinks it should look for an FLV file in the root storage directory, even though the URL specify that it is an MP4 file in a subdirectory. Why is that? |
After spending hours looking into this, I finally found this post on the Wowza forum. The problem: Apparently there is an issue with some flash-based video players (like Flowplayer that I use), that accept a single string for the RTMP connection and stream name. Some of these players do not separate the RTMP connection and stream name properly when using sub directories. When breaking this URL apart:
The player will use this as the RTMP connection:
The player will then try to play The solution: To remedy this problem, there is a plugin for Wowza that fixes the URL, available for download here: Unzip the package and copy the JAR file into your Wowza
Doing so got it all working for me! |
下载地址:
http://www.ttstream.com/WowzaServerAddOnCollection_4.0.zip
要重启服务!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 提示词工程——AI应用必不可少的技术