Skip to content

LUNA PLATFORM v.5.91.0#

LP changes

  • Now, if a stream has been created that specifies a set of analytics that is not fully supported by any of the agents registered in Video Manager, then error 44014 has been issued with the message Unprocessable content. Failed to find agent that supports all analytics associated with the stream.

    Previously, such a stream just did not go anywhere.

    Important: Each stream should contain only the set of analytics supported by a specific agent. For example, you can create one stream with Human tracking and People counting analytics. Video Agent service supports both of these analytics. But you cannot create one stream with a People counting analytics (Video Agent) and other analytics supported by another agent. In this case, you need to create two separate streams.

  • The ID of the processed stream has now been included in the request identifier in the logs of the Video Agent service.

  • Now, in Handlers-lambda, the handler_id from which the request of type lambda has been made can be obtained. See the code example in section "Handlers lambda examples".

    The ability to execute corresponding requests to the Handlers service has also been added to all types of Lambda.

  • Now, in Handlers and Standalone lambdas, the query parameters from the user request have been made available. Previously they were not transmitted, but now the lambda can receive and use them.

    For example, you can query via lambda to another canonical handler whose identifier will be passed via a query parameter.

    See the code example in section "Handlers lambda examples".

  • The ability to check the status of additional services (enabled/disabled) through simple parameters has been added to Lambda. Now, properties such as eventsEnabled, senderEnabled, and handlersEnabled can be used to obtain the status of the corresponding services. See additional information in the "Luna client services", and "Example for Standalone-lambda".

  • A description service scaling has been added to the administrator manual in the section "Streams Retranslator service."

    Examples of scaling are available in the Streams Retranslator development manual in section "Scaling".

LP fixed errors

  • Fixed an error with code 500 that occurs when requests are sent "get statistics on events" and "get statistics on general events", if a null interval is passed in the request group_by (for example, 0m).

  • Updated several Lambda examples, specifically example Handlers-lambda.

    The example supports passing the detectTs, detectTime, eventCreateTime and eventEndTime fields from the header. Now the user can either submit them manually or leave them empty, in which case they will be filled with default values. Previously, the fields were always filled with default values.

  • Fixed the validation of the detect_ts field in Handlers-lambda.

    Previously it was passed as a string, now it is correctly processed as a number.

  • Fixed the initialization of clients in cases where some services were disabled using the "ADDITIONAL_SERVICES_USAGE" setting.

  • In People Count reference manual added missing description for some parameters.