refactor(device_s): todo set img rate according to stream request
This commit is contained in:
parent
91da3a3ca8
commit
a06786c16d
|
@ -36,6 +36,11 @@ std::shared_ptr<StreamsAdapter> StandardDevice::CreateStreamsAdapter() const {
|
||||||
return std::make_shared<StandardStreamsAdapter>();
|
return std::make_shared<StandardStreamsAdapter>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void StandardDevice::StartVideoStreaming() {
|
||||||
|
// TODO(John) Set img framerate, imu frequency according to stream request
|
||||||
|
Device::StartVideoStreaming();
|
||||||
|
}
|
||||||
|
|
||||||
void StandardDevice::OnStereoStreamUpdate() {
|
void StandardDevice::OnStereoStreamUpdate() {
|
||||||
if (motion_tracking_) {
|
if (motion_tracking_) {
|
||||||
auto &&motions = this->motions();
|
auto &&motions = this->motions();
|
||||||
|
|
|
@ -30,6 +30,8 @@ class StandardDevice : public Device {
|
||||||
Capabilities GetKeyStreamCapability() const override;
|
Capabilities GetKeyStreamCapability() const override;
|
||||||
std::shared_ptr<StreamsAdapter> CreateStreamsAdapter() const override;
|
std::shared_ptr<StreamsAdapter> CreateStreamsAdapter() const override;
|
||||||
|
|
||||||
|
void StartVideoStreaming() override;
|
||||||
|
|
||||||
void OnStereoStreamUpdate() override;
|
void OnStereoStreamUpdate() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user