Membrane Demo

May 18, 2026 ยท View on GitHub

The simplest way to start using Membrane is via Boombox - see examples. This repo contains examples of using Membrane directly.

In the subdirectories of this repository you can find the following examples of using Membrane:

Basics

Audio

  • mix_audio - script that mixes two audio tracks into a single AAC file
  • audio_mixer - mix a beep sound into background music
  • soundwave - plot live audio amplitude on a graph

Streaming protocols

  • camera_to_hls - a demonstration of capturing camera output and converting it to an HLS stream
  • camera_to_hls_nerves - a demonstration of capturing video from a camera module on Raspberry Pi running Nerves and broadcasting it to a browser via HLS
  • rtmp - send and receive RTMP stream
  • rtmp_to_hls - receiving RTMP stream and broadcasting it via HLS
  • rtmp_to_adaptive_hls - receiving RTMP stream and broadcasting via multi-bitrate adaptive HLS
  • rtp - sending and receiving RTP/SRTP stream
  • rtp_to_hls - receiving RTP stream and broadcasting it via HLS
  • rtsp_to_hls - receiving RTSP stream and converting it to HLS
  • webrtc_live_view - send and receive WebRTC streams from a Phoenix LiveView app

AI

Many of the demos use Livebook - install it to run them.

Authors

Membrane Framework is created by Software Mansion.

Since 2012 Software Mansion is a software agency with experience in building web and mobile apps as well as complex multimedia solutions. We are Core React Native Contributors and experts in live streaming and broadcasting technologies. We can help you build your next dream product โ€“ Hire us.

Copyright 2024, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0