Aws_protocol_adapter and deepstream ensuring mqtt pingreq's are sent in case of no activity

• Hardware Platform (Jetson / GPU): Jetson Xavier NX
• DeepStream Version: 5.0
• JetPack Version: 4.4
• TensorRT Version: 7.1.3.0
• Issue Type( questions, new requirements, bugs): Questions

I’m trying to write a program using the deepstream API that takes metadata from a stream and post it using the AWS IOT mqtt platform. So far I call nvds_add_user_meta_to_frame to get the data from the stream to the pipeline on a callback when an event happens in the stream. I’m not too familiar with the entire stack, so I’m not sure if I’m calling everything correctly. Basically it seems like the way I’m calling the API doesn’t send pingreq’s when there is no data to send. This causes the connection to silently error out and no longer publishes messages. Is there something I can call at a regular frequency to ensure that pingreq’s are sent?

@tyler.cone
you should be able to follow the tutorial

particular issues could be addressed to there Issues · awslabs/aws-iot-core-integration-with-nvidia-deepstream · GitHub