it uses MQTT, FTP, and RTSP. the key and serial are the credentials.