shaka-packager/packager/hls/base
KongQun Yang 2db1867951 Write manifests atomically
In the original manifest updating process, the file was truncated first
before was written with new contents. There is a small chance that
the web server may read back empty file or incomplete file.

The new code makes the update operation atomic (by writing to a temporary
file first then replace the old file with the temporary file).

Fixes #186

Change-Id: I2fd564cb12b922b032c0e9f70d2132a5b12ff098
2017-07-07 11:05:19 -07:00
..
hls_notifier.h Support live and event HLS playlists 2017-06-24 01:09:32 +00:00
master_playlist.cc Write manifests atomically 2017-07-07 11:05:19 -07:00
master_playlist.h Support live and event HLS playlists 2017-06-24 01:09:32 +00:00
master_playlist_unittest.cc Write manifests atomically 2017-07-07 11:05:19 -07:00
media_playlist.cc Write manifests atomically 2017-07-07 11:05:19 -07:00
media_playlist.h Make HLS with key rotation work 2017-06-29 21:03:36 +00:00
media_playlist_unittest.cc Make HLS with key rotation work 2017-06-29 21:03:36 +00:00
mock_media_playlist.cc Support live and event HLS playlists 2017-06-24 01:09:32 +00:00
mock_media_playlist.h Support live and event HLS playlists 2017-06-24 01:09:32 +00:00
simple_hls_notifier.cc Support live and event HLS playlists 2017-06-24 01:09:32 +00:00
simple_hls_notifier.h Support live and event HLS playlists 2017-06-24 01:09:32 +00:00
simple_hls_notifier_unittest.cc Support live and event HLS playlists 2017-06-24 01:09:32 +00:00