• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

hls-vod HttpStreamingContentPath

Explorer ,
Sep 23, 2016 Sep 23, 2016

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.

Views

998

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 27, 2016 Sep 27, 2016

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 27, 2016 Sep 27, 2016

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 27, 2016 Sep 27, 2016

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 27, 2016 Sep 27, 2016

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 29, 2017 Jan 29, 2017

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 29, 2017 Jan 29, 2017

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 29, 2017 Jan 29, 2017

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines