Kurento Application

redirect flow

This flow is used to redirect HTTP requests to the editor of specific flows.

Nodes Used

  • Inject/Timestamp – Triggers the flow

  • Function – Adds custom JavaScript logic

  • Debug – Outputs messages to the debug console

  • HTTP request – Sends an HTTP request to a specified endpoint

  • Change node – Modifies message properties before routing

For more information, refer to the official Node-RED documentation. (TODO: Add link)

FLOW: redirect to flow editor based on topic

Purpose of this flow is to redirect the user to the editor of a specific flow. The Inject node triggers an HTTP GET request to http://127.0.0.1:1880/{{{topic}}}. The Function node sets msg.payload.type = 'tab', which is used to indicate the target is a flow tab.