mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-09-27 05:35:57 +08:00
17 lines
343 B
Go
17 lines
343 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
|
|
"m7s.live/m7s/v5"
|
|
_ "m7s.live/m7s/v5/plugin/debug"
|
|
_ "m7s.live/m7s/v5/plugin/hdl"
|
|
_ "m7s.live/m7s/v5/plugin/webrtc"
|
|
_ "m7s.live/m7s/v5/plugin/rtmp"
|
|
)
|
|
|
|
func main() {
|
|
// ctx, _ := context.WithDeadline(context.Background(), time.Now().Add(time.Second*100))
|
|
m7s.Run(context.Background(), "config.yaml")
|
|
}
|