orbbec-sdk-sys 0.1.2+2.5.5

Low-level Rust bindings for https://github.com/orbbec/OrbbecSDK_v2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) Orbbec Inc. All Rights Reserved.
// Licensed under the MIT License.

#pragma once

#include "IFrame.hpp"
#include "IStreamProfile.hpp"

namespace libobsensor {

class IStreamer {
public:
    virtual ~IStreamer() noexcept = default;
    virtual void startStream(std::shared_ptr<const StreamProfile> profile, MutableFrameCallback callback) = 0;
    virtual void stopStream(std::shared_ptr<const StreamProfile> profile)                                 = 0;
};
}  // namespace libobsensor