# Live-video streaming platform

Streaming platform with adaptive HLS video, filtering through path-based URLs, creator profiles with media feeds, English and Dutch, and a Sanity CMS for the blog, legal pages and SEO.

- **Facts:** 2025, Freelance work, Live, role: Sole developer
- **What I did:** I built the whole platform alone, end to end: the estimate, the architecture, all the code, the calls with the client, the release and the support after release.
- **Scope:** fullstack
- **Domain:** media
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, Sanity, next-intl, HLS, Docker, Nginx, Linux VPS hosting, TanStack Query, nuqs, Embla Carousel, React Compiler, Radix UI, shadcn/ui, Zod, T3 Env, Biome, Ultracite, pnpm, date-fns, Docker Compose, SEO, PWA, Google Analytics, Node.js, Claude Code, Figma
- **Page:** https://sergey-petrinich.vercel.app/work/live-video-streaming-platform

Capabilities:

- A full-screen swipe carousel of creators who are live now, with keyboard and swipe controls and a deep link to a selected stream
- Filters by gender, ethnicity, body type, country, language and tag as clean path URLs, served by one optional catch-all route
- Creator profile pages with banner, bio, stats, a post feed and media tabs, plus a quick-view sheet opened from the carousel
- Adaptive HLS playback, native on Safari and iOS and hls.js elsewhere, with bounded retries and a separate budget for CORS-like errors
- A carousel virtualized by circular distance, with only the active slide and its neighbour playing
- English and Dutch through next-intl, with hreflang alternates and a canonical for every filter combination
- Sanity Studio inside the app with 7 document types for the blog, legal pages, SEO text and popular tags, refreshed by a signed webhook
- A chunked sitemap, structured data and robots rules per bot
- A circuit breaker and hard-coded fallbacks when the CMS fails, and a fallback for the viewer status check when the upstream API fails
- An age-verification flow and regional blocking of streams by the viewer's country
- Docker and Nginx on a VPS, with production and preview deploys over SSH

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
