Red5 / red5-hls-plugin

HLS support as a plugin for Red5
Apache License 2.0
80 stars 51 forks source link

Missing directory "webapps/hlsapp/WEB-INF/segments" #15

Open zwerfkat opened 9 years ago

zwerfkat commented 9 years ago

The segmentDirectory "webapps/hlsapp/WEB-INF/segments/" from the red5-web.xml configuration file is not present when installing the hls-plugin example. As a result, the plugin does not work and unexpected errors may show up like:

2015-06-12 07:14:47,153 [SegmentExecutor-3] WARN o.r.xuggler.writer.HLSStreamWriter - Audio packet was not complete 2015-06-12 07:14:47,153 [SegmentExecutor-3] WARN o.r.xuggler.writer.HLSStreamWriter - Video packet was not complete

After creating the directory manually, the problem has gone. Maybe it is a good idea to let the plugin check for the listed segmentDirectory and issue an appropriate error when it is not present or when there cannot be written to?