P I X E L P E T A L S
Custom Solution · Live video

Stream the majlis to every member — privately, and at near-zero cost

A multi-tenant live-streaming platform: OBS goes in over RTMP, an automatic quality ladder goes out, and only your members can watch.

The Problem

Mohallas wanted to stream the majlis to members who couldn't attend — without it ending up on the public internet.

Public platforms make a private religious gathering visible to anyone with the link, and off-the-shelf streaming services bill per viewer — which gets expensive fast once a few hundred members tune in.

Why it hurts

A shared link leaks to non-members. A flat per-viewer bill scales the wrong way. And on patchy home connections a single fixed-quality stream just buffers — so the people who needed it most give up. They wanted broadcast quality, members-only access, and a cost that didn't climb with every extra viewer.

The Solution

A self-hosted streaming platform, one stack, many mohallas.

OBS publishes over RTMP into MediaMTX, which builds an adaptive HLS quality ladder on the fly. Members sign in with their ITS number and watch in the browser via a self-healing hls.js player, with Bunny CDN offloading the bandwidth so per-viewer cost stays near zero. Built on Next.js 16 · React 19 · PostgreSQL/Prisma, behind Caddy and Docker.

Our Approach

Ingest the live feed

OBS publishes over RTMP into MediaMTX, giving us one broadcast-quality stream to work from.

Build the quality ladder

MediaMTX turns that feed into an adaptive HLS ladder with 2-second segments, so the self-healing hls.js player stays smooth on slow connections.

Gate by ITS number

Members sign in and only those on a mohalla's allowed list, within their date-windowed raza permission, can watch.

Deliver & measure

Bunny CDN offloads the bandwidth per mohalla while live dashboards track watching-now, peak viewers and member engagement.

Adaptive bitrate

One ingest, three ways to watch

The moment OBS goes live, an ffmpeg ladder fans the single RTMP feed into multiple HLS renditions — a near-free source passthrough plus lighter transcodes — so the player can drop to a lower quality on a weak connection instead of stalling.

Members only

Sign in with your ITS number — then the stream unlocks

Access is checked server-side against the mohalla's member list and any granted raza window, so a leaked link is useless to a non-member. Behind the scenes a 10-second heartbeat powers a live readout: who's watching now, the peak, and an engagement leaderboard.

Proof

Live and in production — broadcasting majlis to gated member audiences across mohallas.

12 mohallas streaming from one self-hosted stack
~1,200 peak concurrent viewers on a single majlis
300+ events broadcast end-to-end
99.9% stream uptime with self-healing playback

Bunny CDN offload keeps per-viewer bandwidth cost near zero as audiences grow.

700+ projects · 450+ UK/EU buyers · 5★ on PeoplePerHour

Let's build yours

Want a private streaming platform for your community?