From cfff3316b4d964c3eb4f6d575bea04fc2f3c40d4 Mon Sep 17 00:00:00 2001 From: saxon Date: Sat, 8 Dec 2018 01:43:10 +1030 Subject: [PATCH] revid: updated revid packetsPerClip const from 7 to 560 to speed up data sending --- revid/senders.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/revid/senders.go b/revid/senders.go index ab7a4c9c..c4ab9cfc 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -29,7 +29,6 @@ LICENSE package revid import ( - "fmt" "io" "net" "os" @@ -42,8 +41,6 @@ import ( "bitbucket.org/ausocean/utils/smartlogger" ) -var count int = 0 - // loadSender is a destination to send a *ring.Chunk to. // When a loadSender has finished using the *ring.Chunk // it must be Closed. @@ -139,8 +136,6 @@ func (s *httpSender) send() error { for i, pin := range pins { if pin.Name == "V0" { send = true - count += s.chunk.Len() - fmt.Println(count) pins[i].Value = s.chunk.Len() pins[i].Data = s.chunk.Bytes() pins[i].MimeType = "video/mp2t"