ERROR: gst-library-error> -quark: Could not configure supporting library. (5): gstnvmsgbroker.cpp(437): legacy_gst_nvmsgbroker_start (): /GstPipeline:pipeline0/GstNvMsgBroker:nvmsgbroker:
unable to connect to broker library
To clarify, the mqtt-broker in my conn-string is the name of an eclipse-mosquitto:2 docker container that I have on the same docker network.
Could you point me to an example application in python?
Thank you for your help!
from the error, it is because connecting broker failed. you can use the tool to test first. the tool path is /opt/nvidia/deepstream/deepstream/sources/libs/mqtt_protocol_adaptor/.
This worked, thanks! I was turned around by the documentation’s earlier parts, so I have not made it to this part that was useful for my use-case.
Instead of localhost, I could just use the name of the container, as they are on the same docker network.
I have another question about this topic: I have modified the nvmsgconv, so that it includes a custom string in the otherAttrs field (see this topic), but it does not get sent via MQTT.
Could you help me with what could be the issue here, and how to fix it?
Due to this, I have recognized, that I have added the custom code to a wrong line in the code, due to a Github merging mishap (:
So all in all, it works now, I see the MQTT message complete with our custom payload. Thanks again!
Well, it was, but with the help above, it is solved now.