SizeLength、IndexLength、IndexDeltaLength

This commit is contained in:
dexter
2023-03-03 22:06:38 +08:00
parent beda2dd9e0
commit ea5ea6f48a
3 changed files with 5 additions and 4 deletions

View File

@@ -127,7 +127,6 @@ func (p *RTSPPusher) Connect() error {
func (p *RTSPPusher) Push() (err error) {
var u *url.URL
u, err = url.Parse(p.RemoteURL)
defer p.Stop()
// startTime := time.Now()
// for len(p.tracks) < 2 {
// if time.Sleep(time.Second); time.Since(startTime) > time.Second*10 {