mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-10-04 07:26:45 +08:00
14 lines
242 B
Go
14 lines
242 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
|
|
"m7s.live/m7s/v5"
|
|
_ "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")
|
|
}
|