mirror of https://bitbucket.org/ausocean/av.git
8 lines
126 B
Go
8 lines
126 B
Go
|
package rtmp
|
||
|
|
||
|
import "golang.org/x/sys/unix"
|
||
|
|
||
|
func setTimeval(sec int) unix.Timeval {
|
||
|
return unix.Timeval{Sec: int64(sec)}
|
||
|
}
|