mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-14 10:45:08 +00:00
17 lines
185 B
Go
17 lines
185 B
Go
// main executable.
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/bluenviron/mediamtx/internal/core"
|
|
)
|
|
|
|
func main() {
|
|
s, ok := core.New(os.Args[1:])
|
|
if !ok {
|
|
os.Exit(1)
|
|
}
|
|
s.Wait()
|
|
}
|