common

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const AudioPath = "/audio"
View Source
const VideoPath = "/video"

Variables

View Source
var GraphiqlHTML []byte
View Source
var SchemaString string

Functions

func StreamAudioHandler

func StreamAudioHandler(ch <-chan []float32) http.HandlerFunc

func StreamVideoHandler

func StreamVideoHandler(ch <-chan image.Image) http.HandlerFunc

Types

type Resolver

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

func NewResolver

func NewResolver() *Resolver

func (*Resolver) AudioPath

func (r *Resolver) AudioPath() string

func (*Resolver) AudioStream

func (r *Resolver) AudioStream() <-chan []float32

func (*Resolver) Cameras

func (r *Resolver) Cameras() []*av.Camera

func (*Resolver) Microphones

func (r *Resolver) Microphones() []*av.Microphone

func (*Resolver) SetSelectedCamera

func (r *Resolver) SetSelectedCamera(args *av.SelectedCamera) bool

func (*Resolver) SetSelectedMicrophone

func (r *Resolver) SetSelectedMicrophone(args *av.SelectedMicrophone) bool

func (*Resolver) VideoPath

func (r *Resolver) VideoPath() string

func (*Resolver) VideoStream

func (r *Resolver) VideoStream() <-chan image.Image

Jump to

Keyboard shortcuts

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