GetLiveMJPEG

(Camera Tag Module)

Description: This is a called module. It will return a reference to the current frame retrieved from the IP camera that is connected to the camera tag.
Returns: Text
Usage: Steady State only.
Function Groups: Variable
Related to: None
Format: \MyCameraTag.GetLiveMJPEG();
Parameters: None
Comments:

This function is an API that acts as a data access point. The feed from the camera is a motion JPEG. Each individual frame is a JPEG image. The raw data from each JPEG image is stored within a variable as text and updated concurrently as new frames are received by the camera tag. The reference returned by the module will also be refreshed when the IP camera URL or credential has been updated in the tag configuration.

See Camera Tag. If the URL or credentials configured in the camera tag are misconfigured or irretrievable or if the camera feed is down the reference value will be invalid.

Example:

 CurrentImage = \MyCameraTag.GetLiveMJPEG();