I wonder how to solve the case where the smil file and the video file exist in different directories in the same content storage. use media cache
As far as I know, the same path or smil file must be in the root path or in the same directory to be used. How do I use the smil file to manage it by putting it in a different directory in the same repository?
There is a way to do this using ModuleMediaListPathSelector.
You are correct that the video assets normally must be stored in the same folder as the SMIL file that references them. The ModuleMediaListPathSelector module for Wowza Streaming Engine lets you store a SMIL file and the VOD assets it references in different locations.
Here is the doc on how to set it up:
And here is some sample code for you using this module on our GitHub page:
Also, please feel free to send in a support ticket as we’ve helped many customers get this path defined properly with this module.
This solution seems to help!
But I need some help.
I added the module and called the smil file, but it was still looking for images under the smil file.
→
pcTomcat/1009/…mp4
I think I need to edit the pathSelectorPrefixes option
I don’t know how to edit the smil file path to remove it when calling the video. I’m really sorry, but can you give me some examples of writing for the pathSelectorPrefixes option?
We can help you, but to accurately diagnose, you’ll need to send in a support ticket. We can’t troubleshoot or debug in the forums without having access to your full configuration and logs. It’s just guessing otherwise in the forums and that doesn’t help you really. We’ll take a closer look in a ticket and see why it’s failing. You can zip and upload your files here.