shaka-packager/packager/mpd/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
..
xml Integrate trick play. 2017-05-09 13:33:11 -07:00
bandwidth_estimator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
bandwidth_estimator.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
bandwidth_estimator_unittest.cc Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00
content_protection_element.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
content_protection_element.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
dash_iop_mpd_notifier.cc Remove the trick_play_factor in media_info.proto. 2017-05-17 22:10:49 +00:00
dash_iop_mpd_notifier.h Integrate trick play. 2017-05-09 13:33:11 -07:00
dash_iop_mpd_notifier_unittest.cc Remove the trick_play_factor in media_info.proto. 2017-05-17 22:10:49 +00:00
media_info.proto Remove the trick_play_factor in media_info.proto. 2017-05-17 22:10:49 +00:00
mock_mpd_builder.cc Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00
mock_mpd_builder.h Integrate trick play. 2017-05-09 13:33:11 -07:00
mock_mpd_notifier.cc Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00
mock_mpd_notifier.h Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00
mpd_builder.cc Write manifests atomically 2017-07-07 11:05:19 -07:00
mpd_builder.h Write manifests atomically 2017-07-07 11:05:19 -07:00
mpd_builder_unittest.cc Write manifests atomically 2017-07-07 11:05:19 -07:00
mpd_notifier.h Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00
mpd_notifier_util.cc Write manifests atomically 2017-07-07 11:05:19 -07:00
mpd_notifier_util.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
mpd_options.h Deprecate availability_time_offset MPD flag 2017-05-22 23:14:16 +00:00
mpd_utils.cc Remove the trick_play_factor in media_info.proto. 2017-05-17 22:10:49 +00:00
mpd_utils.h Implement utility function DoubleToString 2016-09-30 21:36:11 +00:00
segment_info.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
simple_mpd_notifier.cc Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00
simple_mpd_notifier.h Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00
simple_mpd_notifier_unittest.cc Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00