package main const ( SRVTYPE_RTMP uint8 = iota ) func main() { err := NewIngestServer(SRVTYPE_RTMP, "7878") if err != nil { panic(err) } for { } }