stream-server/ingest.go
2023-08-09 16:00:21 +05:00

12 lines
195 B
Go

package main
import "stream_server/rtmp"
func NewIngestServer(srvr_type uint8, port string) (error) {
var err error
switch srvr_type {
case 0:
err = rtmp.NewServer(&port)
}
return err
}