internal

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Speedometer

type Speedometer struct {
	// contains filtered or unexported fields
}

func NewSpeedometer

func NewSpeedometer(interval float64) *Speedometer

func (*Speedometer) AddTimePoint

func (m *Speedometer) AddTimePoint(tp *TimePoint)

func (*Speedometer) Gap

func (m *Speedometer) Gap() float64

func (*Speedometer) LatestTimePoint

func (m *Speedometer) LatestTimePoint() *TimePoint

func (*Speedometer) RealTimeElapsed added in v1.2.0

func (m *Speedometer) RealTimeElapsed() float64

func (*Speedometer) Satisfied

func (m *Speedometer) Satisfied() bool

func (*Speedometer) VideoTimeElapsed added in v1.2.0

func (m *Speedometer) VideoTimeElapsed() float64

type TimePoint

type TimePoint struct {
	RealTime  float64
	VideoTime float64
	SegmentID interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL