Copy link to clipboard
Copied
Hi folks,
Can the additional content storage paths be added to /hls-vod <Location>?
It works when I stream over the rtmp with url like "rtmp://ams/vod/mp4:path/to/file.mp4" the files located on places I added in vod Application.xml <Streams>. But I am getting 404 trying to play these over hls-vod with url like "http://ams/hls-vod/path/to/file.mp4.m3u8".
Thanks in advance for clues.
Copy link to clipboard
Copied
It should and it works for me.
For e.g I have a file in
C:\Program Files\Adobe\Adobe Media Server 5\webroot\vod\path\to\test.mp4
and http://localhost/hls-vod/path/to/test.f4v.m3u8
works for me.
Copy link to clipboard
Copied
Thanks for reply, hparmar. I would like to add a locations outside \webroot\vod, without adding more <Locations> as /hls-vod is fine for me. I did it with symlinks in /vod yet. If I simply add additional paths to HttpStreamContentPath like this:
HttpStreamContentPath "../webroot/vod;X:\media\mp4" the apache just crashes even on config test, httpd -n amshttpd -t
Copy link to clipboard
Copied
Yes HttpStreamContentPath allows only for single path..and you can certainly try with symlinks.
And that is because imagine a file with same name exists in two roots...how would it know which one to server.
Copy link to clipboard
Copied
But for the regular vod application, it is possible to specify multiple <Streams> locations.
Just tried with multiple HttpStreamContentPath, like:
HttpStreamContentPath "../webroot/vod"
HttpStreamContentPath "x:/media"
Config tests like httpd -n amshttpd -t goes syntax ok, but web-server "knows" only the last path.
Would be great to have this working like in vod application <Streams>.
I was supposing that the vod application <Streams> entries are used for hls-vod too. This is why I formulated the initial question that way.
If the other users will ask too, would be great to see this implemented in future releases.
Many thanks.
Copy link to clipboard
Copied
Are you know how add different locations of files in AMS hls-vod? If i have /storage1 /storage2 /storage3 and files with different names located in this storages, how i can put this locations in HttpStreamingContentPath of http.conf?
Copy link to clipboard
Copied
Seems that we just can't. Multiple HttpStreamingContentPath does not work. I implemented this by OS symlinks.
Copy link to clipboard
Copied
Can you send me example? If i have content on /storage1, /storage2, /storage3