refactor(device_s): todo set img rate according to stream request

This commit is contained in:
John Zhao 2018-12-21 00:32:22 +08:00
parent 91da3a3ca8
commit a06786c16d
2 changed files with 7 additions and 0 deletions

View File

@ -36,6 +36,11 @@ std::shared_ptr<StreamsAdapter> StandardDevice::CreateStreamsAdapter() const {
return std::make_shared<StandardStreamsAdapter>();
}
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();

View File

@ -30,6 +30,8 @@ class StandardDevice : public Device {
Capabilities GetKeyStreamCapability() const override;
std::shared_ptr<StreamsAdapter> CreateStreamsAdapter() const override;
void StartVideoStreaming() override;
void OnStereoStreamUpdate() override;
};