1 github
Search · go video decode · GitHub
- if url, err := url.Parse(opt.URL); err == nil && strings.ToLower(url.Scheme) == "rtmp" {
- return StreamServerRunStreamRTMP(streamID, channelID, opt)
- }
- keyTest := time.NewTimer(20 * time.Second)
- checkClients := time.NewTimer(20 * time.Second)
- var start bool
- var fps int
- var preKeyTS = time.Duration(0)
- var Seq []*av.Packet
- RTSPClient, err := rtspv2.Dial(rtspv2.RTSPClientOptions{URL: opt.URL, InsecureSkipVerify: opt.Inse