package rtmp import "golang.org/x/sys/unix" func setTimeval(sec int) unix.Timeval { return unix.Timeval{Sec: int32(sec)} }