mediamtx/main.go

16 lines
170 B
Go
Raw Normal View History

2019-12-28 21:07:03 +00:00
package main
import (
"os"
"github.com/aler9/rtsp-simple-server/internal/core"
2019-12-28 21:07:03 +00:00
)
func main() {
s, ok := core.New(os.Args[1:])
if !ok {
os.Exit(1)
2019-12-28 21:07:03 +00:00
}
s.Wait()
2019-12-28 21:07:03 +00:00
}