av

package
v0.0.0-...-be7fcbc Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Camera

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

func GetCameras

func GetCameras() ([]*Camera, error)

func (*Camera) Close

func (c *Camera) Close() error

func (*Camera) Id

func (c *Camera) Id() int32

func (*Camera) StartStreamingFromSelectedCamera

func (c *Camera) StartStreamingFromSelectedCamera(settings *SelectedCamera) error

func (*Camera) Stream

func (c *Camera) Stream(stream chan<- image.Image)

func (*Camera) SupportedFormats

func (c *Camera) SupportedFormats() []SupportedFormat

type Microphone

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

func GetMicrophones

func GetMicrophones() ([]*Microphone, error)

func (*Microphone) Close

func (m *Microphone) Close() error

func (*Microphone) Name

func (m *Microphone) Name() string

func (*Microphone) Stream

func (m *Microphone) Stream(stream chan<- []float32)

type SelectedCamera

type SelectedCamera struct {
	Id        int32
	Format    string
	FrameSize string
}

type SelectedMicrophone

type SelectedMicrophone struct {
	Name string
}

type SupportedFormat

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

func (SupportedFormat) Format

func (s SupportedFormat) Format() string

func (SupportedFormat) FrameSizes

func (s SupportedFormat) FrameSizes() []string

Jump to

Keyboard shortcuts

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