Versions in this module Expand all Collapse all v0 v0.1.0 Jun 20, 2024 Changes in this version + const PreviewService_PreviewStart_FullMethodName + const PreviewService_PreviewStop_FullMethodName + var File_preview_proto protoreflect.FileDescriptor + var PreviewService_ServiceDesc = grpc.ServiceDesc + func RegisterPreviewServiceServer(s grpc.ServiceRegistrar, srv PreviewServiceServer) + type EmptyResponse struct + func (*EmptyResponse) Descriptor() ([]byte, []int) + func (*EmptyResponse) ProtoMessage() + func (x *EmptyResponse) ProtoReflect() protoreflect.Message + func (x *EmptyResponse) Reset() + func (x *EmptyResponse) String() string + type PreviewRequest struct + ChannelId string + DeviceId string + TenantId string + func (*PreviewRequest) Descriptor() ([]byte, []int) + func (*PreviewRequest) ProtoMessage() + func (x *PreviewRequest) GetChannelId() string + func (x *PreviewRequest) GetDeviceId() string + func (x *PreviewRequest) GetTenantId() string + func (x *PreviewRequest) ProtoReflect() protoreflect.Message + func (x *PreviewRequest) Reset() + func (x *PreviewRequest) String() string + type PreviewResponse struct + ChannelId string + DeviceId string + Http string + Rtmp string + Rtsp string + SessionId int32 + StreamId string + Webrtc string + Wsflv string + func (*PreviewResponse) Descriptor() ([]byte, []int) + func (*PreviewResponse) ProtoMessage() + func (x *PreviewResponse) GetChannelId() string + func (x *PreviewResponse) GetDeviceId() string + func (x *PreviewResponse) GetHttp() string + func (x *PreviewResponse) GetRtmp() string + func (x *PreviewResponse) GetRtsp() string + func (x *PreviewResponse) GetSessionId() int32 + func (x *PreviewResponse) GetStreamId() string + func (x *PreviewResponse) GetWebrtc() string + func (x *PreviewResponse) GetWsflv() string + func (x *PreviewResponse) ProtoReflect() protoreflect.Message + func (x *PreviewResponse) Reset() + func (x *PreviewResponse) String() string + type PreviewServiceClient interface + PreviewStart func(ctx context.Context, in *PreviewRequest, opts ...grpc.CallOption) (*PreviewResponse, error) + PreviewStop func(ctx context.Context, in *StopPreviewRequest, opts ...grpc.CallOption) (*EmptyResponse, error) + func NewPreviewServiceClient(cc grpc.ClientConnInterface) PreviewServiceClient + type PreviewServiceServer interface + PreviewStart func(context.Context, *PreviewRequest) (*PreviewResponse, error) + PreviewStop func(context.Context, *StopPreviewRequest) (*EmptyResponse, error) + type StopPreviewRequest struct + StreamId string + func (*StopPreviewRequest) Descriptor() ([]byte, []int) + func (*StopPreviewRequest) ProtoMessage() + func (x *StopPreviewRequest) GetStreamId() string + func (x *StopPreviewRequest) ProtoReflect() protoreflect.Message + func (x *StopPreviewRequest) Reset() + func (x *StopPreviewRequest) String() string + type UnimplementedPreviewServiceServer struct + func (UnimplementedPreviewServiceServer) PreviewStart(context.Context, *PreviewRequest) (*PreviewResponse, error) + func (UnimplementedPreviewServiceServer) PreviewStop(context.Context, *StopPreviewRequest) (*EmptyResponse, error) + type UnsafePreviewServiceServer interface