Skip to main content
Inspiring
September 23, 2016
Question

hls-vod HttpStreamingContentPath

  • September 23, 2016
  • 3 replies
  • 1254 views

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.

This topic has been closed for replies.

3 replies

Participating Frequently
January 29, 2017

Can you send me example? If i have content on /storage1, /storage2, /storage3

Participating Frequently
January 29, 2017

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?

vayvanneAuthor
Inspiring
January 29, 2017

Seems that we just can't. Multiple HttpStreamingContentPath does not work. I implemented this by OS symlinks.

Adobe Employee
September 27, 2016

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.

vayvanneAuthor
Inspiring
September 27, 2016

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

Adobe Employee
September 27, 2016

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.