added heartbeat event and mimetype to camera capture