Enabling Disk Writes
The following configuration is used for the default Red5 Pro server distribution.
In order for disk writes to happen, you will need to:
- Define the
useDiskWritesbean property in
- Remove or comment out the
servlet-mappingnodes for hls and hls2 from
The behavior of the server is the same when publishing a stream. The URI of the HLS stream mimics the context path of the publisher stream.
The publisher with a stream consumable at the following URI:
will be also playable at the following URI:
.ts files are written into the
red5pro-server/webapps/live/streams directory. Each
.ts file will be removed after approximately 30 seconds, and all
.ts files, plus the
.m3u8 file will be removed approximately 30 seconds after the stream has been stopped.
NOTE: this property does not have anything to do with HLS VOD.