Skip to content

Introduction - Monibuca Streaming Media Server Engine

Monibuca (abbreviated as m7s) is a high-performance streaming media server engine. Version 6 has been completely rewritten from scratch in Rust, pushing performance to the extreme while maintaining a flexible plugin-based architecture.

Monibuca is not just a streaming server — it is an engine. It provides comprehensive streaming media processing capabilities, allowing developers to rapidly build streaming applications tailored to various business requirements through its plugin system.

Monibuca natively supports mainstream streaming protocols, ready to use out of the box:

ProtocolPublishSubscribeDescription
RTMPClassic low-latency publishing protocol
RTSPCommonly used for surveillance devices
HTTP-FLV-HTTP long-connection streaming
HLS-Widely compatible segmented protocol
WebRTCBased on WHIP/WHEP standards, ultra-low latency
SRTSecure Reliable Transport protocol
GB28181Chinese national standard for video surveillance networking
WebTransportNext-generation transport protocol based on QUIC

Featuring a proprietary zero-copy ring buffer design, audio and video data written by publishers is read directly by all subscribers through references without memory copying. This design results in extremely low memory overhead when a single stream serves a large number of concurrent subscribers.

An event-driven architecture based on the Dispatcher enables efficient stream management and distribution. Each stream has its own Dispatcher instance responsible for coordinating data flow between publishers and subscribers.

All protocols and features in Monibuca are implemented as plugins, supporting both static compilation and dynamic loading modes:

  • Static compilation: Select required plugins via feature flags, compiled into a single binary
  • Dynamic loading: Load .so / .dylib plugins at runtime for flexible extension

Built-in cluster plugin supporting multi-node deployment and cross-node stream distribution, easily handling large-scale concurrent scenarios.

Full-Stack Monitoring & Operations Dashboard

Section titled “Full-Stack Monitoring & Operations Dashboard”

V6 includes a complete monitoring system spanning from stream-level to site-wide, with no third-party tools required:

  • Stream-level real-time monitoring: Per-frame waveforms + bitrate/framerate/GOP trend charts with live SSE push
  • Room-level quality analysis: Sender-receiver pair analysis with bitrate, freeze, packet loss, and resolution comparison
  • Live operations dashboard: Site-wide real-time overview, 7-day trends, popularity ranking, risk detection
  • Three-tier reporting: Heartbeat (real-time quality) + Leave (session snapshot) + KV (event counters)

Through the Admin dashboard, operations teams can monitor site-wide live streaming status in real time, while developers can quickly diagnose audio/video quality issues through bitrate and framerate analysis. See Monitoring & Operations for details.

V6 is a milestone release for Monibuca, fully migrated from Go to Rust, bringing a quantum leap in capabilities:

  • Extreme performance: Rust’s zero-cost abstractions and memory safety guarantees deliver significantly higher throughput
  • Memory safety: Data races and memory leaks are eliminated at compile time, ensuring stable server operation
  • Lower latency: No GC pauses, making audio/video processing latency more predictable
  • Full-stack monitoring: Built-in three-tier reporting + three dashboards, real-time observability for bitrate/framerate/freeze
  • Full-stack ecosystem: Engine + Admin dashboard + monitoring dashboards + Web player + Web SDK, all developed in-house
monibuca/
├── monibuca-sdk/ # Open-source SDK (the sole contract layer for plugin development)
│ └── monibuca-codec/ # Codecs, type definitions, trait interfaces
├── Engine core # Distributed as pre-compiled binaries
├── 25+ built-in plugins # Distributed as pre-compiled binaries
├── Admin dashboard # In-house Web UI
├── Web player components # In-house Web player
└── Web SDK # Frontend integration SDK

Monibuca is widely applicable to various streaming media scenarios:

  • Interactive Live Streaming: Show / e-commerce / social streaming with gift system, co-hosting, PK battles, and live chat
  • Video Conferencing: Multi-party video meetings with agenda management, lobby, raise hand, real-time transcription, and AI meeting minutes
  • Online Customer Service: Visitor queuing, agent assignment, WebRTC real-time calls, screen sharing, call recording and quality analytics
  • Video Surveillance: GB28181 national standard integration, RTSP pulling, ONVIF device discovery
  • Online Education: Interactive classrooms, large-class live distribution, small-class co-hosting, course recording and playback
  • Media Processing: Audio transcoding, video snapshots, MP4 recording, HLS segmentation
  • Edge Nodes: Lightweight deployment with cluster cascading, ideal for edge computing scenarios

Monibuca open-sources the monibuca-sdk plugin development SDK, allowing developers to freely develop custom plugins that run via dynamic loading or WASM sandbox mode.

Monibuca also provides a complete full-stack ecosystem:

  • Engine: Pre-compiled binaries or Docker images, ready to use out of the box
  • Admin dashboard: In-house visual management interface for stream monitoring, configuration management, and operations dashboards in one place
  • Monitoring dashboards: Built-in Stream Detail, Room Report, and Live Dashboard for visual bitrate/framerate troubleshooting
  • Web player: In-house Web player supporting HTTP-FLV, HLS, WebSocket-FLV, and other protocols
  • Web SDK: Frontend rapid integration SDK, covering the entire pipeline from publishing to playback

For enterprise-level requirements, Monibuca offers commercial licensing and technical support services, including:

  • Enterprise features (authentication, encryption, advanced cluster capabilities)
  • Dedicated technical support and consulting
  • Custom development services

Ready to get started? Head to Installation to begin using Monibuca.