video

package
v0.0.0-...-3e1ade8 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataHandlerFunc

type DataHandlerFunc func([]byte, *sync.WaitGroup)

type Video

type Video struct {
	*internal.GenericController
	// contains filtered or unexported fields
}

func New

func New() (*Video, error)

func (*Video) AddDataHandler

func (v *Video) AddDataHandler(dataHandlerFunc DataHandlerFunc) (int, error)

func (*Video) HandleEvent

func (v *Video) HandleEvent(event *unity.Event, info []byte,
	tag uint64, wg *sync.WaitGroup)

func (*Video) RemoveDataHandler

func (v *Video) RemoveDataHandler(index int) error

func (*Video) StartVideo

func (v *Video) StartVideo()

func (*Video) StopVideo

func (v *Video) StopVideo()

Jump to

Keyboard shortcuts

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