Documentation
¶
Index ¶
- Constants
- Variables
- func StreamAudioHandler(ch <-chan []float32) http.HandlerFunc
- func StreamVideoHandler(ch <-chan image.Image) http.HandlerFunc
- type Resolver
- func (r *Resolver) AudioPath() string
- func (r *Resolver) AudioStream() <-chan []float32
- func (r *Resolver) Cameras() []*av.Camera
- func (r *Resolver) Microphones() []*av.Microphone
- func (r *Resolver) SetSelectedCamera(args *av.SelectedCamera) bool
- func (r *Resolver) SetSelectedMicrophone(args *av.SelectedMicrophone) bool
- func (r *Resolver) VideoPath() string
- func (r *Resolver) VideoStream() <-chan image.Image
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) AudioStream ¶
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) VideoStream ¶
Click to show internal directories.
Click to hide internal directories.