diff --git a/src/mynteye/device/standard/device_s.cc b/src/mynteye/device/standard/device_s.cc index 844365d..36719ba 100644 --- a/src/mynteye/device/standard/device_s.cc +++ b/src/mynteye/device/standard/device_s.cc @@ -36,6 +36,11 @@ std::shared_ptr StandardDevice::CreateStreamsAdapter() const { return std::make_shared(); } +void StandardDevice::StartVideoStreaming() { + // TODO(John) Set img framerate, imu frequency according to stream request + Device::StartVideoStreaming(); +} + void StandardDevice::OnStereoStreamUpdate() { if (motion_tracking_) { auto &&motions = this->motions(); diff --git a/src/mynteye/device/standard/device_s.h b/src/mynteye/device/standard/device_s.h index 5822489..855e611 100644 --- a/src/mynteye/device/standard/device_s.h +++ b/src/mynteye/device/standard/device_s.h @@ -30,6 +30,8 @@ class StandardDevice : public Device { Capabilities GetKeyStreamCapability() const override; std::shared_ptr CreateStreamsAdapter() const override; + void StartVideoStreaming() override; + void OnStereoStreamUpdate() override; };