bionsingle.blogg.se

Phoenix news livestream
Phoenix news livestream







  1. #Phoenix news livestream install#
  2. #Phoenix news livestream archive#

While not enough for production, this should be plenty for this proof of concept. Free accounts are limited to five-minute streams and the Mux logo is added to the stream. If you don’t already have a free developer account, create one now.

#Phoenix news livestream install#

brew install ffmpeg should do the trick.Īnd finally, you will need to generate and add your Mux API keys. If you don’t already have ffmpeg installed, that’s the next step.

phoenix news livestream

Lets add Mux and Porcelain to our dependencies in mix.exs. We will be using LiveView, and won’t need Ecto.

#Phoenix news livestream archive#

If you haven’t installed the phx_new archive (or haven’t recently): Hopefully by the end of this post you will understand why. LiveView guarantees it is “the most fun you’ll ever have building interactive web applications.” Having worked with Phoenix and LiveView extensively, I completely agree with this statement. Phoenix, built by fellow DockYarder Chris McCord, was designed to empower developers to “build rich, interactive web applications quickly, with less code and fewer moving parts” and is being driven by a “ growing community of developers using Phoenix to craft APIs, HTML5 apps and more, for fun or at scale.” If you haven’t heard of Mux Video yet, they describe themselves as: “an API that enables developers to build unique live and on-demand video experiences.” Phoenix LiveView Here, I’ll demonstrate how I got live streaming from a web browser to a Phoenix LiveView backend, and over to a Mux live stream-all by adding less than 70 lines of code to a base Phoenix LiveView project. The good news? With Phoenix LiveView, you can deliver on the promise of live-streamed video with minimal development effort.

phoenix news livestream

This shift has brought about an increasing need for not just video, but live-streamed capabilities to offer the dynamic, real-time interactions we all crave in our everyday lives. Once again, video is reshaping how we interact with the world.

phoenix news livestream

TV’s impact quickly extended far beyond consumption as it shaped pop culture and became the source of dinner entertainment, watercooler chats, and the messenger of some of the most prolific moments in world history.įast-forward to today, and the pandemic has catapulted video into the forefront of our lives as many of us use it to stay connected–yet socially distanced–from our families, friends, colleagues, healthcare providers, teachers, and more. When people first brought TV sets into their living rooms, it served as a new way to consume information and media.









Phoenix news livestream