Open source HLS proxy library for manifest manipulation

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • hls-proxy

    NPM library for proxying HLS requests

  • There are a number of use cases where HLS manifest manipulation techniques are applicable. Multi CDN switching, server-side ad insertion, looping or truncating a VOD, to mention a few. The fundamental principle is that you need some HLS proxy between the video player and the original HLS you wish to modify somehow. As this is a very common component in all these use cases we have developed and open sourced an NPM library, hls-proxy, that takes care of that. In this post we will describe how to use it and examples of some use cases.

  • fastify

    Fast and low overhead web framework, for Node.js

  • The proxy server is built on fastify.io.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • node-m3u8

    Streaming parser for m3u8 files in node

  • This handler is called after the proxy has fetched the master manifest from the origin. It provides the original request received by the proxy, base URL set by the originHandler and a parsed M3U object (@eyevinn/m3u8). It is expected to return an HLS master manifest.

  • hls-repeat

    NPM library to repeat an HLS VOD and create a new HLS VOD

  • In addition to the HLS proxy library this example uses an HLS manifest manipulation library that creates a new HLS VOD by repeating the contents of another HLS VOD.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts