mirror of
https://github.com/langhuihui/monibuca.git
synced 2026-05-09 19:51:11 +08:00
0913df7b8c16b26265cb04e55fb9663d486ea906
1.recordmode:Change "recordmode" from the original "1, 0" to "auto, event". original is :1 is event record,0 is auto record. 2.eventleve:Change "eventlevel" from the original "0, 1" to "high, low". original is :1 is event low,0 is event high.
Introduction
Monibuca is a highly scalable high-performance streaming server development framework developed purely for Go
Usage
package main
import (
"context"
"m7s.live/v5"
_ "m7s.live/v5/plugin/debug"
_ "m7s.live/v5/plugin/flv"
_ "m7s.live/v5/plugin/rtmp"
)
func main() {
m7s.Run(context.Background(), "config.yaml")
}
build tags
| Build Tag | Description |
|---|---|
| disable_rm | Disables the memory pool |
| sqlite | Enables the sqlite DB |
| sqliteCGO | Enables the sqlite cgo version DB |
| mysql | Enables the mysql DB |
| postgres | Enables the postgres DB |
| duckdb | Enables the duckdb DB |
| taskpanic | Throws panic, for testing |
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%