Skip to main content
Inspiring
November 9, 2012
Question

Adaptive m3u8 file not found when Apache <location /hls-vod> httpstreamingcontentpath changed

  • November 9, 2012
  • 1 reply
  • 1549 views

I have set my FMS 4.5  to host hls-vod content in another location on the server F:\media.  This is the change I made:

<Location /hls-vod>

    HLSHttpStreamingEnabled true

    HLSMediaFileDuration 8000

    #HttpStreamingContentPath "../webroot/vod"

          HttpStreamingContentPath "F:\media"

    HLSFmsDirPath ".."

# Uncomment the following directives to enable encryption

# for this location.

#    HLSEncryptionScope server

#    HLSEncryptCipherKeyFile "../phls/vodkey.bin"

#    HLSEncryptKeyURI        "https://<ServerName>/hls-key/vodkey.bin"

    Options -Indexes FollowSymLinks

</Location>

I can successfully stream a file from hls-vod/file.mp4.m3u8.  But I cannot stream a set level. m3u8 like from hls-vod/file.m3u8. I get a file not found even though the file does exist.  I can get the the stream to work if I place the set level .m3u8 file in the Apache webroot.

1) Does Apache not recognize the m3u8 file format when location change is performed?  what can i do to make it recognize this file?

2) Why does the dynamically generated m3u8 file work, but not the pre-generated set level m3u8 file?

3) Can the httpcontentpath use a set level m3u8 file?

4) Based on this FAQ http://forums.adobe.com/docs/DOC-2338. I know that changing the location blocks progressive download access to the files, does this have anything to do with this? 

5) Ideally I would like users to place the set level m3u8 files in same location as the video file.  Is this possible?

any help would be appreciated.

thanks

This topic has been closed for replies.

1 reply

jt-digAuthor
Inspiring
November 13, 2012

okay, i'm fixing this by setting the document root to where the media is located f:/media and then changing the htaccess to restrict access to certain file types.  I block mp4, flv, and f4v, to block download but i allow ts and m3u8. It works but my only concern is the performance hit by allowing htaccess in sub folders.  I don't think it will be a big deal.  thoughts.