logo

Movienight 101: How to Power a Video Streaming with Kubernetes and WebRTC

2021-10-13

Authors:   Rachel Sheikh


Summary

The presentation discusses how to use Kubernetes and WebRTC to power video streaming for a watch party. The speaker shares her experience in building a movie night application and scaling it using Kubernetes.
  • Movie night is a distributed approach to concurrently streaming video across multiple peers.
  • WebRTC enables peer-to-peer connections across different browsers, cutting out the server in the middle and reducing latency.
  • Kubernetes is used to scale the application by deploying multiple pods and using horizontal load balancing with an auto scaler.
  • The speaker suggests exploring different video stream protocols and bundled P2P/video streaming to improve video quality.
  • An anecdote is shared about the speaker's experience in using WebRTC and Kubernetes to build a movie night application.
  • Tags: Kubernetes, WebRTC, video streaming, watch party, scaling
The speaker shares her experience in building a movie night application during the pandemic to watch movies with friends and family. She faced challenges in syncing playback together and wanted to create a solution. She used WebRTC to enable peer-to-peer connections and Kubernetes to scale the application. By deploying multiple pods and using horizontal load balancing with an auto scaler, the application was able to function seamlessly without a large amount of computational overhead. The speaker suggests exploring different video stream protocols and bundled P2P/video streaming to improve video quality.

Abstract

Movienight 101: How to Power Video Streaming with Kubernetes and WebRTC - Over the past several years, the streaming industry has boomed, with industry leaders like Netflix and Amazon setting the pace for newcomers like Discovery Plus. One of the most difficult challenges to watching movies with others around the world, however, is syncing playback together. Kubernetes is a great solution to solving this challenge. Through its built in ability to load balance traffic to containers, as well as self-healing capabilities, video streaming is able to function seamlessly without a large amount of computational overhead. This talk will provide a quick background on WebRTC, walk through a simplified process of setting up WebRTC to work with Kubernetes, and share some learnings/takeaways gathered from spinning up this project!

Materials:

Post a comment

Related work