goatchurchprime / godot-mqtt

Godot addon which implements the MQTT client protocol
MIT License
19 stars 1 forks source link

Python paho-mqtt and udp #1

Open TheBricktop opened 1 year ago

TheBricktop commented 1 year ago

Hello im using paho-mqtt in python to send some camera data to godot, and I need least latency possible for frame transport. Ive noticed that only two transport options are available "tcp" and "websockets". Is there a possibility to use udp as it is much faster or there is some quirk that makes it not necessary?

nonchip commented 1 month ago

udp won't really be noticeably faster there, it sounds more like you wanna use an actual video stream protocol instead of torturing mqtt for that, because that's SO not what that protocol is optimized for and contributes most to your issue