package main import ( "context" "m7s.live/engine/v4" //_ "m7s.live/plugin/hdl/v4" _ "m7s.live/plugin/hls/v4" _ "m7s.live/plugin/hook/v4" //_ "m7s.live/plugin/jessica/v4" //_ "m7s.live/plugin/logrotate/v4" //_ "m7s.live/plugin/preview/v4" //_ "m7s.live/plugin/record/v4" _ "m7s.live/plugin/rtmp/v4" _ "m7s.live/plugin/rtsp/v4" //_ "m7s.live/plugin/snap/v4" _ "m7s.live/plugin/webrtc/v4" ) // engine Jun 25, 2022 // webrtc Sep 24, 2022 // rtmp Sep 24, 2022 // rtsp Sep 6, 2022 // go build -ldflags "-w -s" -o build\ test/test.go func main() { err := engine.Run(context.Background(), "config.yaml") if err != nil { return } }