Files
github-actions[bot] 0e51ecbb7e sunnypilot v2026.09.09-4864
version: sunnypilot v2026.003.000 (dev)
date: 2026-09-09T15:43:49
master commit: b255314f5a
2026-09-09 15:43:49 +00:00

23 lines
517 B
C++

#pragma once
#include "tools/cabana/streams/livestream.h"
#include <string>
#include <sys/types.h>
class DeviceStream : public LiveStream {
public:
DeviceStream(std::string address = {});
~DeviceStream();
inline std::string routeName() const override {
return "Live Streaming From " + (zmq_address.empty() ? std::string("127.0.0.1") : zmq_address);
}
protected:
void start() override;
void streamThread() override;
void stopBridge();
pid_t bridge_pid = -1;
const std::string zmq_address;
};