Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterEgressHandlerServer(s grpc.ServiceRegistrar, srv EgressHandlerServer)
- func RegisterEgressServiceServer(s grpc.ServiceRegistrar, srv EgressServiceServer)
- func StartHandlerListener(ipcServer *grpc.Server, handlerTmpDir string) error
- func StartServiceListener(ipcServer *grpc.Server, serviceTmpDir string) error
- type EgressHandlerClient
- type EgressHandlerServer
- type EgressServiceClient
- type EgressServiceServer
- 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 HandlerFinishedRequest
- func (*HandlerFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandlerFinishedRequest) GetEgressId() string
- func (x *HandlerFinishedRequest) GetInfo() *livekit.EgressInfo
- func (x *HandlerFinishedRequest) GetMetrics() string
- func (*HandlerFinishedRequest) ProtoMessage()
- func (x *HandlerFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *HandlerFinishedRequest) Reset()
- func (x *HandlerFinishedRequest) String() string
- type HandlerReadyRequest
- func (*HandlerReadyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandlerReadyRequest) GetEgressId() string
- func (*HandlerReadyRequest) ProtoMessage()
- func (x *HandlerReadyRequest) ProtoReflect() protoreflect.Message
- func (x *HandlerReadyRequest) Reset()
- func (x *HandlerReadyRequest) String() string
- type MetricsRequest
- type MetricsResponse
- 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 UnimplementedEgressHandlerServer
- func (UnimplementedEgressHandlerServer) GetMetrics(context.Context, *MetricsRequest) (*MetricsResponse, error)
- func (UnimplementedEgressHandlerServer) GetPProf(context.Context, *PProfRequest) (*PProfResponse, error)
- func (UnimplementedEgressHandlerServer) GetPipelineDot(context.Context, *GstPipelineDebugDotRequest) (*GstPipelineDebugDotResponse, error)
- type UnimplementedEgressServiceServer
- func (UnimplementedEgressServiceServer) HandlerFinished(context.Context, *HandlerFinishedRequest) (*emptypb.Empty, error)
- func (UnimplementedEgressServiceServer) HandlerReady(context.Context, *HandlerReadyRequest) (*emptypb.Empty, error)
- func (UnimplementedEgressServiceServer) HandlerUpdate(context.Context, *livekit.EgressInfo) (*emptypb.Empty, error)
- type UnsafeEgressHandlerServer
- type UnsafeEgressServiceServer
Constants ¶
const ( EgressService_HandlerReady_FullMethodName = "/ipc.EgressService/HandlerReady" EgressService_HandlerUpdate_FullMethodName = "/ipc.EgressService/HandlerUpdate" EgressService_HandlerFinished_FullMethodName = "/ipc.EgressService/HandlerFinished" )
const ( EgressHandler_GetPipelineDot_FullMethodName = "/ipc.EgressHandler/GetPipelineDot" EgressHandler_GetPProf_FullMethodName = "/ipc.EgressHandler/GetPProf" EgressHandler_GetMetrics_FullMethodName = "/ipc.EgressHandler/GetMetrics" )
Variables ¶
var EgressHandler_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ipc.EgressHandler", HandlerType: (*EgressHandlerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPipelineDot", Handler: _EgressHandler_GetPipelineDot_Handler, }, { MethodName: "GetPProf", Handler: _EgressHandler_GetPProf_Handler, }, { MethodName: "GetMetrics", Handler: _EgressHandler_GetMetrics_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ipc.proto", }
EgressHandler_ServiceDesc is the grpc.ServiceDesc for EgressHandler service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EgressService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ipc.EgressService", HandlerType: (*EgressServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HandlerReady", Handler: _EgressService_HandlerReady_Handler, }, { MethodName: "HandlerUpdate", Handler: _EgressService_HandlerUpdate_Handler, }, { MethodName: "HandlerFinished", Handler: _EgressService_HandlerFinished_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ipc.proto", }
EgressService_ServiceDesc is the grpc.ServiceDesc for EgressService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_ipc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEgressHandlerServer ¶
func RegisterEgressHandlerServer(s grpc.ServiceRegistrar, srv EgressHandlerServer)
func RegisterEgressServiceServer ¶ added in v1.8.1
func RegisterEgressServiceServer(s grpc.ServiceRegistrar, srv EgressServiceServer)
func StartHandlerListener ¶ added in v1.8.1
Types ¶
type EgressHandlerClient ¶
type EgressHandlerClient interface { GetPipelineDot(ctx context.Context, in *GstPipelineDebugDotRequest, opts ...grpc.CallOption) (*GstPipelineDebugDotResponse, error) GetPProf(ctx context.Context, in *PProfRequest, opts ...grpc.CallOption) (*PProfResponse, error) GetMetrics(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*MetricsResponse, error) }
EgressHandlerClient is the client API for EgressHandler 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 NewEgressHandlerClient ¶
func NewEgressHandlerClient(cc grpc.ClientConnInterface) EgressHandlerClient
func NewHandlerClient ¶ added in v1.8.1
func NewHandlerClient(handlerTmpDir string) (EgressHandlerClient, error)
type EgressHandlerServer ¶
type EgressHandlerServer interface { GetPipelineDot(context.Context, *GstPipelineDebugDotRequest) (*GstPipelineDebugDotResponse, error) GetPProf(context.Context, *PProfRequest) (*PProfResponse, error) GetMetrics(context.Context, *MetricsRequest) (*MetricsResponse, error) // contains filtered or unexported methods }
EgressHandlerServer is the server API for EgressHandler service. All implementations must embed UnimplementedEgressHandlerServer for forward compatibility
type EgressServiceClient ¶ added in v1.8.1
type EgressServiceClient interface { HandlerReady(ctx context.Context, in *HandlerReadyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) HandlerUpdate(ctx context.Context, in *livekit.EgressInfo, opts ...grpc.CallOption) (*emptypb.Empty, error) HandlerFinished(ctx context.Context, in *HandlerFinishedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
EgressServiceClient is the client API for EgressService 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 NewEgressServiceClient ¶ added in v1.8.1
func NewEgressServiceClient(cc grpc.ClientConnInterface) EgressServiceClient
func NewServiceClient ¶ added in v1.8.1
func NewServiceClient(serviceTmpDir string) (EgressServiceClient, error)
type EgressServiceServer ¶ added in v1.8.1
type EgressServiceServer interface { HandlerReady(context.Context, *HandlerReadyRequest) (*emptypb.Empty, error) HandlerUpdate(context.Context, *livekit.EgressInfo) (*emptypb.Empty, error) HandlerFinished(context.Context, *HandlerFinishedRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
EgressServiceServer is the server API for EgressService service. All implementations must embed UnimplementedEgressServiceServer for forward compatibility
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 HandlerFinishedRequest ¶ added in v1.8.4
type HandlerFinishedRequest struct { EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` Metrics string `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"` Info *livekit.EgressInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*HandlerFinishedRequest) Descriptor
deprecated
added in
v1.8.4
func (*HandlerFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandlerFinishedRequest.ProtoReflect.Descriptor instead.
func (*HandlerFinishedRequest) GetEgressId ¶ added in v1.8.4
func (x *HandlerFinishedRequest) GetEgressId() string
func (*HandlerFinishedRequest) GetInfo ¶ added in v1.8.4
func (x *HandlerFinishedRequest) GetInfo() *livekit.EgressInfo
func (*HandlerFinishedRequest) GetMetrics ¶ added in v1.8.4
func (x *HandlerFinishedRequest) GetMetrics() string
func (*HandlerFinishedRequest) ProtoMessage ¶ added in v1.8.4
func (*HandlerFinishedRequest) ProtoMessage()
func (*HandlerFinishedRequest) ProtoReflect ¶ added in v1.8.4
func (x *HandlerFinishedRequest) ProtoReflect() protoreflect.Message
func (*HandlerFinishedRequest) Reset ¶ added in v1.8.4
func (x *HandlerFinishedRequest) Reset()
func (*HandlerFinishedRequest) String ¶ added in v1.8.4
func (x *HandlerFinishedRequest) String() string
type HandlerReadyRequest ¶ added in v1.8.1
type HandlerReadyRequest struct { EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // contains filtered or unexported fields }
func (*HandlerReadyRequest) Descriptor
deprecated
added in
v1.8.1
func (*HandlerReadyRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandlerReadyRequest.ProtoReflect.Descriptor instead.
func (*HandlerReadyRequest) GetEgressId ¶ added in v1.8.1
func (x *HandlerReadyRequest) GetEgressId() string
func (*HandlerReadyRequest) ProtoMessage ¶ added in v1.8.1
func (*HandlerReadyRequest) ProtoMessage()
func (*HandlerReadyRequest) ProtoReflect ¶ added in v1.8.1
func (x *HandlerReadyRequest) ProtoReflect() protoreflect.Message
func (*HandlerReadyRequest) Reset ¶ added in v1.8.1
func (x *HandlerReadyRequest) Reset()
func (*HandlerReadyRequest) String ¶ added in v1.8.1
func (x *HandlerReadyRequest) String() string
type MetricsRequest ¶ added in v1.8.1
type MetricsRequest struct {
// contains filtered or unexported fields
}
func (*MetricsRequest) Descriptor
deprecated
added in
v1.8.1
func (*MetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MetricsRequest.ProtoReflect.Descriptor instead.
func (*MetricsRequest) ProtoMessage ¶ added in v1.8.1
func (*MetricsRequest) ProtoMessage()
func (*MetricsRequest) ProtoReflect ¶ added in v1.8.1
func (x *MetricsRequest) ProtoReflect() protoreflect.Message
func (*MetricsRequest) Reset ¶ added in v1.8.1
func (x *MetricsRequest) Reset()
func (*MetricsRequest) String ¶ added in v1.8.1
func (x *MetricsRequest) String() string
type MetricsResponse ¶ added in v1.8.1
type MetricsResponse struct { Metrics string `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*MetricsResponse) Descriptor
deprecated
added in
v1.8.1
func (*MetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MetricsResponse.ProtoReflect.Descriptor instead.
func (*MetricsResponse) GetMetrics ¶ added in v1.8.1
func (x *MetricsResponse) GetMetrics() string
func (*MetricsResponse) ProtoMessage ¶ added in v1.8.1
func (*MetricsResponse) ProtoMessage()
func (*MetricsResponse) ProtoReflect ¶ added in v1.8.1
func (x *MetricsResponse) ProtoReflect() protoreflect.Message
func (*MetricsResponse) Reset ¶ added in v1.8.1
func (x *MetricsResponse) Reset()
func (*MetricsResponse) String ¶ added in v1.8.1
func (x *MetricsResponse) String() string
type PProfRequest ¶ added in v1.5.5
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
added in
v1.5.5
func (*PProfRequest) Descriptor() ([]byte, []int)
Deprecated: Use PProfRequest.ProtoReflect.Descriptor instead.
func (*PProfRequest) GetDebug ¶ added in v1.5.5
func (x *PProfRequest) GetDebug() int32
func (*PProfRequest) GetProfileName ¶ added in v1.5.5
func (x *PProfRequest) GetProfileName() string
func (*PProfRequest) GetTimeout ¶ added in v1.5.5
func (x *PProfRequest) GetTimeout() int32
func (*PProfRequest) ProtoMessage ¶ added in v1.5.5
func (*PProfRequest) ProtoMessage()
func (*PProfRequest) ProtoReflect ¶ added in v1.5.5
func (x *PProfRequest) ProtoReflect() protoreflect.Message
func (*PProfRequest) Reset ¶ added in v1.5.5
func (x *PProfRequest) Reset()
func (*PProfRequest) String ¶ added in v1.5.5
func (x *PProfRequest) String() string
type PProfResponse ¶ added in v1.5.5
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
added in
v1.5.5
func (*PProfResponse) Descriptor() ([]byte, []int)
Deprecated: Use PProfResponse.ProtoReflect.Descriptor instead.
func (*PProfResponse) GetPprofFile ¶ added in v1.5.5
func (x *PProfResponse) GetPprofFile() []byte
func (*PProfResponse) ProtoMessage ¶ added in v1.5.5
func (*PProfResponse) ProtoMessage()
func (*PProfResponse) ProtoReflect ¶ added in v1.5.5
func (x *PProfResponse) ProtoReflect() protoreflect.Message
func (*PProfResponse) Reset ¶ added in v1.5.5
func (x *PProfResponse) Reset()
func (*PProfResponse) String ¶ added in v1.5.5
func (x *PProfResponse) String() string
type UnimplementedEgressHandlerServer ¶
type UnimplementedEgressHandlerServer struct { }
UnimplementedEgressHandlerServer must be embedded to have forward compatible implementations.
func (UnimplementedEgressHandlerServer) GetMetrics ¶ added in v1.8.1
func (UnimplementedEgressHandlerServer) GetMetrics(context.Context, *MetricsRequest) (*MetricsResponse, error)
func (UnimplementedEgressHandlerServer) GetPProf ¶ added in v1.5.5
func (UnimplementedEgressHandlerServer) GetPProf(context.Context, *PProfRequest) (*PProfResponse, error)
func (UnimplementedEgressHandlerServer) GetPipelineDot ¶ added in v1.5.5
func (UnimplementedEgressHandlerServer) GetPipelineDot(context.Context, *GstPipelineDebugDotRequest) (*GstPipelineDebugDotResponse, error)
type UnimplementedEgressServiceServer ¶ added in v1.8.1
type UnimplementedEgressServiceServer struct { }
UnimplementedEgressServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedEgressServiceServer) HandlerFinished ¶ added in v1.8.4
func (UnimplementedEgressServiceServer) HandlerFinished(context.Context, *HandlerFinishedRequest) (*emptypb.Empty, error)
func (UnimplementedEgressServiceServer) HandlerReady ¶ added in v1.8.1
func (UnimplementedEgressServiceServer) HandlerReady(context.Context, *HandlerReadyRequest) (*emptypb.Empty, error)
func (UnimplementedEgressServiceServer) HandlerUpdate ¶ added in v1.8.4
func (UnimplementedEgressServiceServer) HandlerUpdate(context.Context, *livekit.EgressInfo) (*emptypb.Empty, error)
type UnsafeEgressHandlerServer ¶
type UnsafeEgressHandlerServer interface {
// contains filtered or unexported methods
}
UnsafeEgressHandlerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EgressHandlerServer will result in compilation errors.
type UnsafeEgressServiceServer ¶ added in v1.8.1
type UnsafeEgressServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEgressServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EgressServiceServer will result in compilation errors.