viam.components.audio_input.service

Classes

AudioInputRPCService

gRPC Service for a generic AudioInput

Module Contents

class viam.components.audio_input.service.AudioInputRPCService(manager: viam.resource.manager.ResourceManager)[source]

Bases: viam.proto.component.audioinput.AudioInputServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase[viam.components.audio_input.audio_input.AudioInput]

gRPC Service for a generic AudioInput

RESOURCE_TYPE
async Chunks(stream: grpclib.server.Stream[viam.proto.component.audioinput.ChunksRequest, viam.proto.component.audioinput.ChunksResponse]) None[source]
async Properties(stream: grpclib.server.Stream[viam.proto.component.audioinput.PropertiesRequest, viam.proto.component.audioinput.PropertiesResponse]) None[source]
async Record(stream: grpclib.server.Stream[viam.proto.component.audioinput.RecordRequest, google.api.httpbody_pb2.HttpBody]) None[source]
async DoCommand(stream: grpclib.server.Stream[viam.proto.common.DoCommandRequest, viam.proto.common.DoCommandResponse]) None[source]
async GetGeometries(stream: grpclib.server.Stream[viam.proto.common.GetGeometriesRequest, viam.proto.common.GetGeometriesResponse]) None[source]