Documentation ¶
Index ¶
- Variables
- func RegisterAudioStripperServer(s grpc.ServiceRegistrar, srv AudioStripperServer)
- type AudioData
- type AudioStripperClient
- type AudioStripperServer
- type AudioStripper_ExtractAudioClient
- type AudioStripper_ExtractAudioServer
- type UnimplementedAudioStripperServer
- type UnsafeAudioStripperServer
- type VideoData
Constants ¶
This section is empty.
Variables ¶
var AudioStripper_ServiceDesc = grpc.ServiceDesc{ ServiceName: "AudioStripper", HandlerType: (*AudioStripperServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "ExtractAudio", Handler: _AudioStripper_ExtractAudio_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "api/proto/audiostrippersvc/v1/audiostrippersvc.proto", }
AudioStripper_ServiceDesc is the grpc.ServiceDesc for AudioStripper service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_proto_audiostrippersvc_v1_audiostrippersvc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAudioStripperServer ¶
func RegisterAudioStripperServer(s grpc.ServiceRegistrar, srv AudioStripperServer)
Types ¶
type AudioData ¶
type AudioData struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Message to represent chunks of audio data being sent back to the client.
func (*AudioData) Descriptor
deprecated
func (*AudioData) ProtoMessage ¶
func (*AudioData) ProtoMessage()
func (*AudioData) ProtoReflect ¶
func (x *AudioData) ProtoReflect() protoreflect.Message
type AudioStripperClient ¶
type AudioStripperClient interface {
ExtractAudio(ctx context.Context, opts ...grpc.CallOption) (AudioStripper_ExtractAudioClient, error)
}
AudioStripperClient is the client API for AudioStripper service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAudioStripperClient ¶
func NewAudioStripperClient(cc grpc.ClientConnInterface) AudioStripperClient
type AudioStripperServer ¶
type AudioStripperServer interface { ExtractAudio(AudioStripper_ExtractAudioServer) error // contains filtered or unexported methods }
AudioStripperServer is the server API for AudioStripper service. All implementations must embed UnimplementedAudioStripperServer for forward compatibility
type UnimplementedAudioStripperServer ¶
type UnimplementedAudioStripperServer struct { }
UnimplementedAudioStripperServer must be embedded to have forward compatible implementations.
func (UnimplementedAudioStripperServer) ExtractAudio ¶
func (UnimplementedAudioStripperServer) ExtractAudio(AudioStripper_ExtractAudioServer) error
type UnsafeAudioStripperServer ¶
type UnsafeAudioStripperServer interface {
// contains filtered or unexported methods
}
UnsafeAudioStripperServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AudioStripperServer will result in compilation errors.
type VideoData ¶
type VideoData struct { SampleRate string `protobuf:"bytes,1,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Message to represent chunks of video data being sent to the server.
func (*VideoData) Descriptor
deprecated
func (*VideoData) GetSampleRate ¶
func (*VideoData) ProtoMessage ¶
func (*VideoData) ProtoMessage()
func (*VideoData) ProtoReflect ¶
func (x *VideoData) ProtoReflect() protoreflect.Message