MQTT_PI_python You can publish camera datas and subscribe remote controll information by this code. Sub and Pub run in parallel on different threads.