Docs/Stream/Media Engine & Ingest

Media Engine & Streaming Pipeline

The Vyntech Media Engine is high-performance streaming software built in Go. It ingests video feeds over RTMP, SRT, and WebRTC WHIP, processes raw video/audio tracks in real time, and distributes them via an integrated WebRTC SFU and Adaptive Bitrate HLS.

Supported Ingest Protocols

RTMP / RTMPSPort 1935

Standard real-time messaging protocol compatible with OBS Studio, ATEM Mini, vMix, Wirecast, and hardware streaming encoders.

rtmp://stream.apis.vyntech.com.au:1935/live
SRT (Secure Reliable Transport)UDP Port 6000

Packet-loss resilient UDP transport designed for unpredictable public internet connections and on-location news/broadcast links.

srt://stream.apis.vyntech.com.au:6000
WebRTC WHIPHTTP POST / SDP

W3C standard HTTP ingestion protocol allowing web applications and mobile browsers to publish live video without external client software.

https://stream.apis.vyntech.com.au/whip/:id

Real-Time Processing Pipeline

When an ingest connection connects, the Media Engine initializes an isolated pipeline instance that processes incoming FLV demuxed frames:

1. Video Track Repackaging (H.264 / AVC)

Ingested H.264 NAL units are demuxed from the FLV container. The pipeline parses Sequence Parameter Sets (SPS) and Picture Parameter Sets (PPS) to generate standard Annex-B byte streams, which are packetized into RTP packets without requiring CPU-intensive video re-encoding.

2. Audio Transcoding Pipeline (AAC to Opus)

Standard RTMP encoders output AAC audio, but WebRTC browsers require Opus audio at 48kHz. The Audio Transcoding engine streams raw AAC frames through an internal FFmpeg bridge, transcoding them into Opus audio packets with less than 20ms latency.

Egress & Distribution Mechanisms

WebRTC SFU

Latency: 200–400ms

Direct RTP packet forwarding to authenticated viewers. Viewers negotiate SDP offers using STUN/ICE, receiving instantaneous synchronization with real-time chat.

Ideal for: Q&A sessions, live auctions, multiplayer events, and webinars.

Adaptive Bitrate HLS

Latency: 4–8s

FFmpeg builds a multi-variant master playlist (playlist.m3u8) and 2-second TS chunks for seamless playback on Smart TVs, legacy players, and cellular devices.

Ideal for: Massive passive audiences, mobile apps, and fallback viewing.
← Architecture & ConceptsDVR & Cloud Storage →

We use cookies and similar technologies to measure traffic and improve the site. You can choose which categories to allow. Manage Preferences.