Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

One of the major changes in Avalon 6.2 is streaming now uses MediaElement 4 for playback and streams exclusively via HLS.  No special actions are needed to install MediaElement 4, it comes as part of the upgrade.  For browsers that do not have native HLS support, a MediaElement.js shim is used to enable playback.  This requires that you have HLS derivatives of content for playback.  If you have been using the default Avalon transcoding profiles for Matterhorn these derivatives exist.  If you have used a custom profile, you will need to ensure that you have HLS derivatives generated.  If you are unsure, you can search the directory for files with the .m3u extension, files ending in .m3u are capable of HTTP Live Streaming (HLS). 

Is this true?

Shutting Down your RTMP Server and Deleting .mp4 Derivatives

Do we want to get into this? If people are using AMS or Wowza, they're probably using the same derivative for RTMP and HLS.

...


Upgrade Steps

For manual install:

...

Code Block
languagebash
pkill -f resque
RAILS_ENV=production BACKGROUND=yes bundle exec rake resque:scheduler
RAILS_ENV=production BACKGROUND=yes QUEUE=* bundle exec rake resque:work

Docker InstallTODO Need link to script

Update new code from avalon-docker

Code Block
languagebash
git checkout master
git pull

Rebuild and replace Avalon container. Note: it's not necessary to take Avalon down first.

Code Block
languagebash
docker-compose build --no-cache avalon
docker-compose up avalon