Documentation ¶
Index ¶
- type AudioFormat
- type AudioPayload
- type FemuGrpcClient
- func (emu *FemuGrpcClient) KeyDown(seq []string) error
- func (emu *FemuGrpcClient) KeyPress(seq []string) error
- func (emu *FemuGrpcClient) KeyUp(seq []string) error
- func (emu *FemuGrpcClient) StreamAudio(opts StreamAudioOpts) (AudioPayload, error)
- func (emu *FemuGrpcClient) StreamScreen(opts StreamScreenOpts) (Frames, error)
- type FemuGrpcClientConfig
- type FemuGrpcClientInterface
- type Frames
- type StreamAudioOpts
- type StreamScreenOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioFormat ¶
type AudioFormat struct { Channels string // "MONO" or "STEREO" BitsPerSample uint // 8 or 16 SamplingRate uint }
func (*AudioFormat) Validate ¶
func (f *AudioFormat) Validate() error
type AudioPayload ¶
type FemuGrpcClient ¶
type FemuGrpcClient struct {
// contains filtered or unexported fields
}
func NewFemuGrpcClient ¶
func NewFemuGrpcClient(config FemuGrpcClientConfig) (FemuGrpcClient, error)
func (*FemuGrpcClient) KeyDown ¶
func (emu *FemuGrpcClient) KeyDown(seq []string) error
func (*FemuGrpcClient) KeyPress ¶
func (emu *FemuGrpcClient) KeyPress(seq []string) error
func (*FemuGrpcClient) KeyUp ¶
func (emu *FemuGrpcClient) KeyUp(seq []string) error
func (*FemuGrpcClient) StreamAudio ¶
func (emu *FemuGrpcClient) StreamAudio(opts StreamAudioOpts) (AudioPayload, error)
func (*FemuGrpcClient) StreamScreen ¶
func (emu *FemuGrpcClient) StreamScreen(opts StreamScreenOpts) (Frames, error)
type FemuGrpcClientConfig ¶
type FemuGrpcClientInterface ¶
type FemuGrpcClientInterface interface { StreamScreen(opts StreamScreenOpts) (Frames, error) StreamAudio(opts StreamAudioOpts) (AudioPayload, error) KeyDown(seq []string) error KeyUp(seq []string) error KeyPress(seq []string) error }
type StreamAudioOpts ¶
type StreamAudioOpts struct { Format AudioFormat Duration time.Duration }
func NewStreamAudioOpts ¶
type StreamScreenOpts ¶
func NewStreamScreenOpts ¶
Click to show internal directories.
Click to hide internal directories.