Skip to content
STAGING SERVER
DEVELOPMENT SERVER

Basler Vision Connector Messaging: Starting Image Streaming#

With the Basler Vision Connector you can control the image streaming by starting and stopping the image stream. The control doesn't affect any camera property, including the trigger definitions. If you want to change these camera properties, see the messages described in Setting Camera Quick Parameters.

With the following command you can initiate image streaming for a specific camera. When you activate it, continuous streaming publishes images to the streaming topic. For triggered image acquisition, the Basler Vision Connector sends images based on trigger configurations defined via the camera parameters.

JSON Payload#

Field Optional Type Description
TransactionID Yes String Transaction identification
Action No String Method called. Fixed value: StartStreaming
DeviceID No String Device identification
FrameCount Yes Integer Number of frames to be streamed. Values less than 1 are invalid. If no frame count is provided, the camera streams continuously until you stop the streaming.
cstm_FormatConversion Yes String The format into which the images will be converted after reception from the camera. The following options are available:
  • None = The original camera image is forwarded as received from the camera
  • JPEG = The camera images are JPEG compressed and then forwarded

  • If no format conversion is specified, the original camera image is forwarded as received from the camera.
    {
        "TransactionID": "12341263412635465",
        "Action": "StartStreaming",
        "DeviceID": "548451887",
        "FrameCount": 100,
        "cstm_FormatConversion": "None"
    }
    

    Response Object#

    Field Optional Type Description
    TransactionID Yes String Transaction identification
    ReturnCode No Integer (32-bit unsigned) Message code following Message Codes
    Message No String Response message
    {
        "TransactionID": "12341263412635465",
        "ReturnCode": 0,
        "Message": "Stream started."
    }