巴比伦流媒体服务器,目前只支持rtmp协议
package main import ( "babylon/rtmp" log "github.com/cihub/seelog" "runtime" ) func main() { runtime.GOMAXPROCS(runtime.NumCPU()) l := ":1935" err := rtmp.ListenAndServe(l) if err != nil { panic(err) } select {} }