RTSP Camera Image Action

The RTSP camera image action acquires a still image from an RTSP (Real-Time Streaming Protocol)-enabled camera.

Requires an RTSP-enabled camera using Soracom Air for Cellular or Soracom Arc for data communication. To use the RTSP-enabled camera image acquisition action, you need an RTSP-enabled camera that uses Soracom Air for Cellular or Soracom Arc for data communication.

Configuration

In the Action Condition section, you can specify the conditions under which the action will be executed using the values (Message or Context) from the event source to the channel. For more details on the expressions you can input, refer to Use Expressions in Actions.

In this input field, you can enter expressions representing data related to the trigger that starts the Flux application (e.g., event.payload.temp) or data related to the channel where the action is added (e.g., payload.temp).

Configuring RTSP Camera Image Action

Configure the RTSP camera image action content:

Screenshot of RTSP camera image action configuration panel, showing SIM ID, RTSP port, path, authentication, and export options.

In this input field, you can enter expressions representing data related to the trigger that starts the Flux application (e.g., ${event.payload.simId}) or data related to the channel where the action is added (e.g., ${payload.simId}). For more details on the expressions you can input, refer to Action Config Expressions.

Output

The output data of the RTSP-enabled camera image acquisition action is as follows

Example:

{ 
 "simId": "898110000XXXXXXXXXXXXX", 
 "imageUrl": "https://xxxxxxxxxxx..." , 
 "harvestFilesPath": "/flux_rtsp_camera_images/898110000XXXXXXXXXXX-rtsp-snapshot-2025-08-20T09-16-23-364Z.jpg" 
} 
Item Description
simId The SIM ID that the RTSP-enabled camera uses as data communication.
imageUrl The URL to download still images from the RTSP-enabled camera. The URL is valid for one hour from issuance.
harvestFilesPath The path where the still image was saved when exported to Soracom Harvest Files.

URLs issued as imageUrl expire one hour after they are issued.