mirror of
https://github.com/langhuihui/monibuca.git
synced 2026-05-09 09:01:30 +08:00
1e31cccf5008edaf4b5fdaed3e90b37dea7fdd45
…
…
Introduction
Monibuca is a highly scalable high-performance streaming server development framework developed purely for Go
Usage
package main
import (
"context"
"m7s.live/m7s/v5"
_ "m7s.live/m7s/v5/plugin/debug"
_ "m7s.live/m7s/v5/plugin/flv"
_ "m7s.live/m7s/v5/plugin/rtmp"
)
func main() {
m7s.Run(context.Background(), "config.yaml")
}
with sqlite
go build -tags sqlite -o monibuca_sqlite
./monibuca_sqlite -c config.yaml
More Example
see example directory
Prometheus
scrape_configs:
- job_name: "monibuca"
metrics_path: "/api/metrics"
static_configs:
- targets: ["localhost:8080"]
Create Plugin
see plugin
Languages
Go
53.6%
JavaScript
26.5%
C++
15.2%
C
1.5%
HTML
1.2%
Other
1.9%