Skip to main content

Setup Livestreaming Server

Understanding MeGooLive Streaming Technology 🔍​

Live Streaming

Before diving into the setup, it's important to understand how MeGooLive streaming works:

What is MeGooLive Streaming?​

MeGooLive streaming is the real-time transmission of video and audio content over the internet. Unlike pre-recorded videos, live streams are broadcast and viewed simultaneously as they're being recorded.

Key Components of our Streaming Technology​

  1. Broadcaster - The content creator who sends the video/audio Stream through our MeGooLive Flutter App
  2. Streaming Server - Processes and distributes the content, we will setup this server in this guide
  3. Viewers - End users who watch the stream through our MeGooLive Flutter App

Why Multiple Protocols?​

Different protocols serve different purposes in the streaming pipeline:

  • Broadcasting needs low-latency, reliable protocols
  • Viewing needs adaptive, widely-compatible protocols
  • Server processing bridges these requirements

MeGooLive's streaming technology utilizes a robust combination of protocols to deliver high-quality live streaming experiences, we package it in our MeGooLive Product.

Broadcasting Technology 🎥​

We use RTMP (Real-Time Messaging Protocol) for broadcasting, which is the same technology used by major platforms like YouTube and Twitch. RTMP provides:

  • Low-latency live streaming
  • Reliable video/audio transmission
  • Industry standard protocol

Streaming Server ⚡​

Our streaming server acts as the central hub that:

  • Receives the RTMP stream from MeGooLive Flutter App Broadcaster
  • Processes and transcodes the video in real-time
  • Prepares the content for viewer consumption
  • Handles stream distribution

Viewer Technology 📱​

For viewers, we implement HLS (HTTP Live Streaming) technology, which offers:

  • Adaptive bitrate streaming for different network conditions
  • Wide device compatibility (works on mobile, desktop, smart TVs)
  • Automatic quality adjustment based on viewer's internet speed
  • Buffer-free viewing experience

Here's a simplified flow of how it works:

Viewer Count Technology​

We use Websocket to count the number of viewers watching the stream.

All of that Technology is Already implemented in our MeGooLive Streaming App.

Next we will setup the Streaming Server.