Adaptive streaming allows the video provider to create a different video for each of the screen sizes (or devices) that he or she wishes to target. In this episode, we look at converting our Progressive Video Streams into Adaptive Bitrate Streams and serving it through Active Storage.
With custom controllers and Global ID, we can lock down Active Storage files to provide a link which expires after a duration of time. At the beginning of the video, I tour the new Rails 7 template and configuration that will be used for episodes going forward.
In this episode, we take a new approach to the python service that our Rails background jobs will be calling. This is a more stable and thread safe approach and more simple to implement. We'll look at creating a Text to Image generation service that our Rails application will interact with.