You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
403 B
17 lines
403 B
#pragma once
|
|
|
|
#include "tools/cabana/streams/livestream.h"
|
|
|
|
class DeviceStream : public LiveStream {
|
|
Q_OBJECT
|
|
public:
|
|
DeviceStream(QObject *parent, QString address = {});
|
|
|
|
inline QString routeName() const override {
|
|
return QString("Live Streaming From %1").arg(zmq_address.isEmpty() ? "127.0.0.1" : zmq_address);
|
|
}
|
|
|
|
protected:
|
|
void streamThread() override;
|
|
const QString zmq_address;
|
|
};
|
|
|