Vivoh WebTransport

Overview

Vivoh WebTransport is a high-performance system for broadcasting MPEG-TS video with low latency and no buffering. It is a relay for other Vivoh WebTransport servers, enabling massively scalable broadcasts through multi-tier pub/sub distribution.

Contents

Quick Start

For users with an existing server and SSL certificates:

  1. Start the server:
    # Linux
    ./wtmpeg --cert fullchain.pem --key privkey.pem --udp-source 8888
    
    # Windows
    wtmpeg.exe --cert fullchain.pem --key privkey.pem --udp-source 8888
  2. Send an H.264/AAC MPEG-TS stream:
    ffmpeg -i input.mp4 -c:v libx264 -c:a aac -f mpegts udp://localhost:8888
    Optional low latency settings: -preset ultrafast -tune zerolatency -g 15 -bf 0
  3. Open the WTmpeg player in your browser:
    https://subdomain.yourdomain.com

Installation

  1. Platform Requirements
  2. Download Vivoh WebTransport:
  3. Domain Setup
  4. SSL Certificate
    # Install Certbot
    sudo apt install -y certbot
    
    # Get certificates
    sudo certbot certonly --standalone -d subdomain.yourdomain.com
    
    # Copy to working directory
    sudo cp /etc/letsencrypt/live/subdomain.yourdomain.com/fullchain.pem ~/.
    sudo cp /etc/letsencrypt/live/subdomain.yourdomain.com/privkey.pem ~/.
    sudo chown $USER:$USER ~/*.pem
  5. Configure Firewall
    # For Ubuntu/Debian (using ufw)
    sudo ufw allow 443/tcp  # HTTP/2 protocol 
    sudo ufw allow 443/udp  # WebTransport protocol
            

Default Ports

Channel Architecture

Each Vivoh WebTransport instance delivers one dedicated streaming channel to 5,000+ viewers

[Broadcaster] [Viewers]
UDP 8888 → [wtmpeg] → WebTransport 443 ← subdomain.yourdomain.com
x5000+

Vivoh WebTransport relay instances replicate channels to scale distribution with low latency delivery

[Origin VWT] [Core VWT] [Edge VWT] [Viewers]
WebTransport 443 ← WebTransport 443 ← WebTransport 443 ← edge-01.yourdomain.com
x5000+ x5000+ x5000+

Command Line Options

Usage: wtmpeg [OPTIONS]
Options:
  --cert <FILE>              SSL certificate file path (required)
  --key <FILE>               SSL private key file path (required)
  --addr <ADDR>              Listen address [default: [::]:443]
  --udp-source <PORT>        MPEG-TS input port (origin mode)
  --wt-source <NAME:PORT>    Origin server hostname and port (relay mode)

Advanced Deployment

Remote Contribution Technology Integration

For remote contribution via SRT or RIST:

[Remote Source] → SRT-or-RIST://subdomain.yourdomain.com:8080 ↓ [SRT-or-RIST to MPEG-TS Gateway] ↓ UDP:8888 → [wtmpeg]

Learn More

Technology Overview