goa

package module
v0.0.0-...-43484ae Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: BSD-3-Clause Imports: 11 Imported by: 0

README

Goa

Goa is streaming audio using UDP protocol

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioConn

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

AudioConn hold udp connection to the server

func Dial

func Dial(address string) (*AudioConn, error)

Dial function is use to dial in audio server this return an audio connection

func (*AudioConn) Close

func (aux *AudioConn) Close() error

Close is for close audio client connection

func (*AudioConn) SendAudio

func (aux *AudioConn) SendAudio()

SendAudio is a function for sending or write audio data to the server

type AudioServer

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

AudioServer contain output from audio server

func Listen

func Listen(addr string) (*AudioServer, error)

Listen running audio server

func (*AudioServer) Close

func (pc *AudioServer) Close() error

Close is to close audio server

func (*AudioServer) ReadAudio

func (pc *AudioServer) ReadAudio()

ReadAudio is running audio server

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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