Deepstream-test4 doesn't publish anything

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) jetson xavier nx
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only) 4.5.1
• TensorRT Version 7.1.3
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) questions

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

All console messages are good by running the following commands, but nothing was received from rabitmq:

export GST_DEBUG_FILE=debug.txt
export GST_DEBUG=4
./deepstream-test4-app -i /opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.h264 -p /opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_amqp_proto.so --conn-str="localhost;5672;guest;guest" --cfg-file=cfg_amqp.txt --no-display

cfg_amqp.txt (1.4 KB)
console.txt (76.8 KB)
debug.txt (165.9 KB)

The workable sender and receiver samples are:
amqp_recv.py (697 Bytes)
amqp_send.py (381 Bytes)

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

How to publish messages to amqp?

You can see through nvds_logger which generates a runtime log to see if the message sent successfully or not. to enable logging, run setup_nvds_logger.sh under sources/tools/nvds_logger.
as for how to publish messages to amqp, you can see from amqp documentation or you can download code,
git clone -b v0.8.0 --recursive GitHub - alanxz/rabbitmq-c: RabbitMQ C client
to go through. it uses API amqp_basic_publish to publish messages. before that, you need to create connection to broker.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.