HLS not working
Hello,
I've installed AMS on a CentOS 6.3 (not supported). I configured everything and RTMP works perfectly.
When installing, I choose not to install Apache since I already have Apache with cPanel.
Now, I want to also test iOS streaming so I want to get HLS to work.
I started by adding this to my httpd.conf:
LoadModule hlshttp_module modules/mod_hlshttp.so
LoadModule f4fhttp_module modules/mod_f4fhttp.so
LoadModule jithttp_module modules/mod_jithttp.so
<IfModule hlshttp_module>
<Location /hls-live>
HLSHttpStreamingEnabled true
HttpStreamingLiveEventPath "/opt/adobe/ams/applications"
HttpStreamingContentPath "/opt/adobe/ams/applications"
HLSMediaFileDuration 8000
HLSSlidingWindowLength 6
HLSFmsDirPath "/opt/adobe/ams"
HLSM3U8MaxAge 2
HLSTSSegmentMaxAge -1
Options -Indexes FollowSymLinks
</Location>
<Location /hls-vod>
HLSHttpStreamingEnabled true
HLSMediaFileDuration 8000
HttpStreamingContentPath "/opt/adobe/ams/webroot/vod"
HLSFmsDirPath "/opt/adobe/ams"
Options -Indexes FollowSymLinks
</Location>
</IfModule>
<IfModule hlshttp_module>
<Location /hds-live>
HttpStreamingEnabled true
HttpStreamingLiveEventPath "/opt/adobe/ams/applications"
HttpStreamingContentPath "/opt/adobe/ams/applications"
HdsFmsDirPath "/opt/adobe/ams"
HttpStreamingF4MMaxAge 2
HttpStreamingBootstrapMaxAge 2
HttpStreamingDrmmetaMaxAge 3600
HttpStreamingFragMaxAge -1
Options -Indexes FollowSymLinks
</Location>
</IfModule>
<IfModule jithttp_module>
<Location /hds-vod>
HttpStreamingJITPEnabled true
HttpStreamingContentPath "/opt/adobe/ams/webroot/vod"
HttpStreamingJITConfAllowed true
JitFmsDirPath "/opt/adobe/ams"
Options -Indexes FollowSymLinks
</Location>
</IfModule>
Listen 0.0.0.0:8134
<VirtualHost myIP:8134>
DocumentRoot /opt/adobe/ams/webroot
ServerName myWeb.net
ServerAlias stream.myWeb.net
</VirtualHost>
I followed AMS / FMS manual in getting this setup. (http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725dfa0-8000.html)
Now, when I open myWeb.net:8134 the index.html from /opt/adobe/ams/webroot is displayed and works perfectly.
I try to stream HLS following the steps in the link above but I always get Internal Server Error.
http://www.myWeb.net:8134/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8
I also tried to open http://www.myWeb.net:8134/hls-live/livepkgr/_definst_/liveevent/Event.xml but I get Not Found error.
I checked the core log in AMS but there is no error.
Checking Apache log I found this:
[Wed Jan 16 05:04:03 2013] [error] mod_hlshttp [500]: Unknown exception when processing /hls-live/livepkgr/_definst_/liveevent/livestream.m3u8
I've tried to many things to get it work. What am I doing wrong?
Thank you.
