Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterIngressHandlerServer(s grpc.ServiceRegistrar, srv IngressHandlerServer)
- type GstPipelineDebugDotRequest
- type GstPipelineDebugDotResponse
- func (*GstPipelineDebugDotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GstPipelineDebugDotResponse) GetDotFile() string
- func (*GstPipelineDebugDotResponse) ProtoMessage()
- func (x *GstPipelineDebugDotResponse) ProtoReflect() protoreflect.Message
- func (x *GstPipelineDebugDotResponse) Reset()
- func (x *GstPipelineDebugDotResponse) String() string
- type IngressHandlerClient
- type IngressHandlerServer
- type PProfRequest
- func (*PProfRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PProfRequest) GetDebug() int32
- func (x *PProfRequest) GetProfileName() string
- func (x *PProfRequest) GetTimeout() int32
- func (*PProfRequest) ProtoMessage()
- func (x *PProfRequest) ProtoReflect() protoreflect.Message
- func (x *PProfRequest) Reset()
- func (x *PProfRequest) String() string
- type PProfResponse
- type UnimplementedIngressHandlerServer
- func (UnimplementedIngressHandlerServer) GetPProf(context.Context, *PProfRequest) (*PProfResponse, error)
- func (UnimplementedIngressHandlerServer) GetPipelineDot(context.Context, *GstPipelineDebugDotRequest) (*GstPipelineDebugDotResponse, error)
- func (UnimplementedIngressHandlerServer) UpdateMediaStats(context.Context, *UpdateMediaStatsRequest) (*emptypb.Empty, error)
- type UnsafeIngressHandlerServer
- type UpdateMediaStatsRequest
- func (*UpdateMediaStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMediaStatsRequest) GetAudioAverateBitrate() uint32
- func (x *UpdateMediaStatsRequest) GetAudioCurrentBitrate() uint32
- func (x *UpdateMediaStatsRequest) GetVideoAverateBitrate() uint32
- func (x *UpdateMediaStatsRequest) GetVideoCurrentBitrate() uint32
- func (*UpdateMediaStatsRequest) ProtoMessage()
- func (x *UpdateMediaStatsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMediaStatsRequest) Reset()
- func (x *UpdateMediaStatsRequest) String() string
Constants ¶
const ( IngressHandler_GetPipelineDot_FullMethodName = "/ipc.IngressHandler/GetPipelineDot" IngressHandler_GetPProf_FullMethodName = "/ipc.IngressHandler/GetPProf" IngressHandler_UpdateMediaStats_FullMethodName = "/ipc.IngressHandler/UpdateMediaStats" )
Variables ¶
var File_ipc_proto protoreflect.FileDescriptor
var IngressHandler_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ipc.IngressHandler", HandlerType: (*IngressHandlerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPipelineDot", Handler: _IngressHandler_GetPipelineDot_Handler, }, { MethodName: "GetPProf", Handler: _IngressHandler_GetPProf_Handler, }, { MethodName: "UpdateMediaStats", Handler: _IngressHandler_UpdateMediaStats_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ipc.proto", }
IngressHandler_ServiceDesc is the grpc.ServiceDesc for IngressHandler service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIngressHandlerServer ¶
func RegisterIngressHandlerServer(s grpc.ServiceRegistrar, srv IngressHandlerServer)
Types ¶
type GstPipelineDebugDotRequest ¶
type GstPipelineDebugDotRequest struct {
// contains filtered or unexported fields
}
func (*GstPipelineDebugDotRequest) Descriptor
deprecated
func (*GstPipelineDebugDotRequest) Descriptor() ([]byte, []int)
Deprecated: Use GstPipelineDebugDotRequest.ProtoReflect.Descriptor instead.
func (*GstPipelineDebugDotRequest) ProtoMessage ¶
func (*GstPipelineDebugDotRequest) ProtoMessage()
func (*GstPipelineDebugDotRequest) ProtoReflect ¶
func (x *GstPipelineDebugDotRequest) ProtoReflect() protoreflect.Message
func (*GstPipelineDebugDotRequest) Reset ¶
func (x *GstPipelineDebugDotRequest) Reset()
func (*GstPipelineDebugDotRequest) String ¶
func (x *GstPipelineDebugDotRequest) String() string
type GstPipelineDebugDotResponse ¶
type GstPipelineDebugDotResponse struct {
DotFile string `protobuf:"bytes,1,opt,name=dot_file,json=dotFile,proto3" json:"dot_file,omitempty"`
// contains filtered or unexported fields
}
func (*GstPipelineDebugDotResponse) Descriptor
deprecated
func (*GstPipelineDebugDotResponse) Descriptor() ([]byte, []int)
Deprecated: Use GstPipelineDebugDotResponse.ProtoReflect.Descriptor instead.
func (*GstPipelineDebugDotResponse) GetDotFile ¶
func (x *GstPipelineDebugDotResponse) GetDotFile() string
func (*GstPipelineDebugDotResponse) ProtoMessage ¶
func (*GstPipelineDebugDotResponse) ProtoMessage()
func (*GstPipelineDebugDotResponse) ProtoReflect ¶
func (x *GstPipelineDebugDotResponse) ProtoReflect() protoreflect.Message
func (*GstPipelineDebugDotResponse) Reset ¶
func (x *GstPipelineDebugDotResponse) Reset()
func (*GstPipelineDebugDotResponse) String ¶
func (x *GstPipelineDebugDotResponse) String() string
type IngressHandlerClient ¶
type IngressHandlerClient interface {
GetPipelineDot(ctx context.Context, in *GstPipelineDebugDotRequest, opts ...grpc.CallOption) (*GstPipelineDebugDotResponse, error)
GetPProf(ctx context.Context, in *PProfRequest, opts ...grpc.CallOption) (*PProfResponse, error)
UpdateMediaStats(ctx context.Context, in *UpdateMediaStatsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
IngressHandlerClient is the client API for IngressHandler 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 NewIngressHandlerClient ¶
func NewIngressHandlerClient(cc grpc.ClientConnInterface) IngressHandlerClient
type IngressHandlerServer ¶
type IngressHandlerServer interface {
GetPipelineDot(context.Context, *GstPipelineDebugDotRequest) (*GstPipelineDebugDotResponse, error)
GetPProf(context.Context, *PProfRequest) (*PProfResponse, error)
UpdateMediaStats(context.Context, *UpdateMediaStatsRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
IngressHandlerServer is the server API for IngressHandler service. All implementations must embed UnimplementedIngressHandlerServer for forward compatibility
type PProfRequest ¶
type PProfRequest struct {
ProfileName string `protobuf:"bytes,1,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
Timeout int32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
Debug int32 `protobuf:"varint,3,opt,name=debug,proto3" json:"debug,omitempty"`
// contains filtered or unexported fields
}
func (*PProfRequest) Descriptor
deprecated
func (*PProfRequest) Descriptor() ([]byte, []int)
Deprecated: Use PProfRequest.ProtoReflect.Descriptor instead.
func (*PProfRequest) GetDebug ¶
func (x *PProfRequest) GetDebug() int32
func (*PProfRequest) GetProfileName ¶
func (x *PProfRequest) GetProfileName() string
func (*PProfRequest) GetTimeout ¶
func (x *PProfRequest) GetTimeout() int32
func (*PProfRequest) ProtoMessage ¶
func (*PProfRequest) ProtoMessage()
func (*PProfRequest) ProtoReflect ¶
func (x *PProfRequest) ProtoReflect() protoreflect.Message
func (*PProfRequest) Reset ¶
func (x *PProfRequest) Reset()
func (*PProfRequest) String ¶
func (x *PProfRequest) String() string
type PProfResponse ¶
type PProfResponse struct {
PprofFile []byte `protobuf:"bytes,1,opt,name=pprof_file,json=pprofFile,proto3" json:"pprof_file,omitempty"`
// contains filtered or unexported fields
}
func (*PProfResponse) Descriptor
deprecated
func (*PProfResponse) Descriptor() ([]byte, []int)
Deprecated: Use PProfResponse.ProtoReflect.Descriptor instead.
func (*PProfResponse) GetPprofFile ¶
func (x *PProfResponse) GetPprofFile() []byte
func (*PProfResponse) ProtoMessage ¶
func (*PProfResponse) ProtoMessage()
func (*PProfResponse) ProtoReflect ¶
func (x *PProfResponse) ProtoReflect() protoreflect.Message
func (*PProfResponse) Reset ¶
func (x *PProfResponse) Reset()
func (*PProfResponse) String ¶
func (x *PProfResponse) String() string
type UnimplementedIngressHandlerServer ¶
type UnimplementedIngressHandlerServer struct {
}
UnimplementedIngressHandlerServer must be embedded to have forward compatible implementations.
func (UnimplementedIngressHandlerServer) GetPProf ¶
func (UnimplementedIngressHandlerServer) GetPProf(context.Context, *PProfRequest) (*PProfResponse, error)
func (UnimplementedIngressHandlerServer) GetPipelineDot ¶
func (UnimplementedIngressHandlerServer) GetPipelineDot(context.Context, *GstPipelineDebugDotRequest) (*GstPipelineDebugDotResponse, error)
func (UnimplementedIngressHandlerServer) UpdateMediaStats ¶
func (UnimplementedIngressHandlerServer) UpdateMediaStats(context.Context, *UpdateMediaStatsRequest) (*emptypb.Empty, error)
type UnsafeIngressHandlerServer ¶
type UnsafeIngressHandlerServer interface {
// contains filtered or unexported methods
}
UnsafeIngressHandlerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IngressHandlerServer will result in compilation errors.
type UpdateMediaStatsRequest ¶
type UpdateMediaStatsRequest struct {
AudioAverateBitrate *uint32 `` /* 127-byte string literal not displayed */
AudioCurrentBitrate *uint32 `` /* 127-byte string literal not displayed */
VideoAverateBitrate *uint32 `` /* 127-byte string literal not displayed */
VideoCurrentBitrate *uint32 `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UpdateMediaStatsRequest) Descriptor
deprecated
func (*UpdateMediaStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMediaStatsRequest.ProtoReflect.Descriptor instead.
func (*UpdateMediaStatsRequest) GetAudioAverateBitrate ¶
func (x *UpdateMediaStatsRequest) GetAudioAverateBitrate() uint32
func (*UpdateMediaStatsRequest) GetAudioCurrentBitrate ¶
func (x *UpdateMediaStatsRequest) GetAudioCurrentBitrate() uint32
func (*UpdateMediaStatsRequest) GetVideoAverateBitrate ¶
func (x *UpdateMediaStatsRequest) GetVideoAverateBitrate() uint32
func (*UpdateMediaStatsRequest) GetVideoCurrentBitrate ¶
func (x *UpdateMediaStatsRequest) GetVideoCurrentBitrate() uint32
func (*UpdateMediaStatsRequest) ProtoMessage ¶
func (*UpdateMediaStatsRequest) ProtoMessage()
func (*UpdateMediaStatsRequest) ProtoReflect ¶
func (x *UpdateMediaStatsRequest) ProtoReflect() protoreflect.Message
func (*UpdateMediaStatsRequest) Reset ¶
func (x *UpdateMediaStatsRequest) Reset()
func (*UpdateMediaStatsRequest) String ¶
func (x *UpdateMediaStatsRequest) String() string