catalyst / moodle-local_smartmedia

Moodle LMS Smartmedia local plugin
Other
6 stars 5 forks source link

Conversion: Master Playlist for Moodle file needs to be updated whenever MPEG-DASH or HLS transcode jobs are conducted #86

Open tomdickman opened 5 years ago

tomdickman commented 5 years ago

Whenever adaptive media is created through Elastic Transcoder, all the media formats are made available through a Master Playlist for that adaptive media format which provides the manifest locating all the possible media files to choose between.

If we conduct another transcode job to that adaptive media file for the same media, we will end up creating a new Master Playlist and potentially override the old one, so that only the newly transcoded media location(s) is/are actually known within the Master Playlist.

We need to update the Master Playlist instead of overriding it.

mattporritt commented 5 years ago

@tomdickman I think is going to be fine. When a file is submitted for transcoding all the desired outputs will get generated at once, which means the master playlist will be valid. If we ever re-transcode a file (which is currently not a requirement) then will just delete the old transcoded outputs and make new ones.