rtp: added print messages for debugging purposes

rtp: added print messages for debugging purposes

rtp: removed binaries
This commit is contained in:
saxon 2018-11-18 19:34:02 +10:30
parent fce0937810
commit 42097ddef7
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ LICENSE
package revid package revid
import ( import (
"fmt"
"io" "io"
"net" "net"
"os" "os"
@ -317,6 +318,7 @@ func (s *udpSender) load(c *ring.Chunk) error {
} }
func (s *udpSender) send() error { func (s *udpSender) send() error {
fmt.Println(len(s.chunk.Bytes()))
_, err := s.chunk.WriteTo(s.conn) _, err := s.chunk.WriteTo(s.conn)
return err return err
} }