orbbec-sdk-sys 0.1.2+2.5.5

Low-level Rust bindings for https://github.com/orbbec/OrbbecSDK_v2
Documentation
#pragma once
#include "sensor/video/VideoSensor.hpp"
#include "component/property/InternalProperty.hpp"

namespace libobsensor {

class G330NetVideoSensor : public VideoSensor
{
public:
    G330NetVideoSensor(IDevice *owner, OBSensorType sensorType, const std::shared_ptr<ISourcePort> &backend, uint32_t linkSpeed);
    virtual ~G330NetVideoSensor() noexcept override;

    void start(std::shared_ptr<const StreamProfile> sp, FrameCallback callback) override;
    void stop() override;

private:
    void initStreamPropertyId();

private:
    OBInternalPropertyID streamSwitchPropertyId_;
    OBInternalPropertyID profilesSwitchPropertyId_;
    uint32_t             linkSpeed_;

};

}