Skip to content

Cdaprod/live-streaming-setup

Repository files navigation

๐ŸŽฅ Cdaprod's Awesome Live Streaming Setup

Development Setup


๐Ÿš€ My ultimate local streaming command center! Bringing together pro camera gear, mobile streams, and local storage into one sleek, Dockerized package.

โœจ What's This All About?

Ever wanted to run a professional multi-camera streaming setup from your local network? That's exactly what I built! This system handles everything from my Nikon Z7 to iOS devices, all while keeping high-quality recordings safely stored on my NAS.

๐ŸŽฎ Cool Features

  • ๐Ÿ“น Multi-device streaming (because one camera is never enough!)
  • ๐Ÿ’พ Pristine local recordings (no quality loss here!)
  • ๐Ÿ“Š Real-time quality monitoring (catch issues before your viewers do)
  • ๐ŸŒ Slick web dashboard (built with React + Tailwind)
  • ๐ŸŽฌ Smart device management (everything just worksโ„ข)
  • ๐Ÿ“ฆ Docker-powered (containers all the way down)

๐Ÿ— Architecture

๐Ÿ”ง The Stack

graph TD
    A[Main Camera] --> B[RTMP Server]
    C[iOS Devices] --> B
    B --> D[NAS Storage]
    B --> E[Web Dashboard]
    F[Device Manager] --> B
    G[API Router] --> B
Loading

๐ŸŽฏ Core Services

  • ๐Ÿš€ RTMP Server: The streaming heart of the operation
  • ๐ŸŽฎ Device Manager: Keeps everything talking nicely
  • ๐ŸŒ API Router: Traffic control for our services (Go-powered!)
  • ๐Ÿ–ฅ Web Dashboard: Your command center for everything

๐Ÿš€ Getting Started

๐Ÿ“‹ Prerequisites

You'll need:

  • ๐Ÿ’ป Docker + Docker Compose on your laptop (192.168.0.187)
  • ๐Ÿ’พ NAS (cda_ds.local, that's 192.168.0.19 for the DNS-challenged)
  • ๐Ÿ“ธ Nikon Z7 + capture card (the good stuff)
  • ๐Ÿ“ฑ iOS devices running Prism Live Studio (for those sweet mobile angles)

๐Ÿƒโ€โ™‚๏ธ Quick Start

  1. Clone this bad boy:

    git clone https://github.com/Cdaprod/live-streaming-setup.git
    cd live-streaming-setup
  2. Set up your env (the easy way):

    cp .example.env .env
    # Customize .env to your heart's content
  3. Launch everything:

    docker-compose up -d
    # Grab a coffee while Docker does its thing

๐ŸŽฅ Setting Up Your Streams

Main Camera (The Nikon Z7 Beauty)

Stream URL: rtmp://192.168.0.187:1935/live
Stream Key: main_camera
Quality: As high as your network can handle! (4K? Why not!)

Mobile Streams (The iOS Squad)

Stream URL: rtmp://192.168.0.187:1935/live
Keys:
  - Main iOS: ios_main
  - B-Roll iOS: ios_secondary

๐Ÿ›  Development & Testing

๐Ÿงช Running Tests

# Get your test on
pip install -r tests/requirements-test.txt
pytest tests/

# Or if you're feeling brave
pytest tests/ -v --show-capture=no

๐Ÿ“ Recording Management

Your streams are automatically saved to:

\\cda_ds.local\volume1\video\LiveStreamed-Broadcasts\

(Where the magic gets archived! ๐ŸŽฌ)

๐Ÿ” Advanced FFmpeg Magic

Check out the separate FFmpeg configuration at:

ffmpeg-streamer/docker-compose.ffmpeg-streamer.yaml

๐ŸŽฉ Pro tip: This is where the real streaming wizardry happens!

๐Ÿฉบ Troubleshooting

๐Ÿš‘ When Things Go Sideways

  1. Stream Issues?

    # Check those RTMP stats
    curl http://localhost:8080/stat
  2. NAS Acting Up?

    # Is your NAS even mounted, bro?
    df -h | grep cda_ds.local
  3. Need the Logs?

    # The whole shebang
    docker-compose logs -f

๐Ÿ‘‹ Connect with Cdaprod

๐ŸŽฅ This project is part of my content creation tech stack! Watch me build and use it on YouTube

๐ŸŒŸ About This Project

This streaming setup powers my tech content creation across various platforms. From coding sessions to tech reviews, this is the backbone of my live streaming infrastructure. Want to see it in action? Check out my:

๐Ÿ“บ YouTube Channel - Live coding and tech tutorials
๐Ÿฆ Twitter - Daily tech insights and updates
๐Ÿ“ Blog - In-depth articles and guides
๐Ÿ’ผ LinkedIn - Professional updates
๐ŸŽฎ Twitch - Live coding sessions

๐Ÿš€ Support My Work

Buy Me A Coffee Sponsor on GitHub

Building cool stuff for developers and content creators!


Built with โค๏ธ by Cdaprod

๐ŸŽฌ "Because every stream deserves to be awesome!"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

ย 
ย 
ย 

Contributors