IRsRtsp.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2020 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 
6 #include "RsSink.h"
7 #include "rtp_callback.hh"
9 
11 
12 #include <vector>
13 
14 struct DeviceData
15 {
19 };
20 
21 class IRsRtsp
22 {
23 public:
24  virtual std::vector<rs2_video_stream> getStreams() = 0;
25  virtual int addStream(rs2_video_stream t_stream, rtp_callback* t_frameCallBack) = 0;
26  virtual int start() = 0;
27  virtual int stop() = 0;
28  virtual int close() = 0;
29  virtual int getOption(const std::string& t_sensorName, rs2_option t_option, float& t_value) = 0;
30  virtual int setOption(const std::string& t_sensorName, rs2_option t_option, float t_value) = 0;
31  virtual DeviceData getDeviceData() = 0;
32  virtual std::vector<IpDeviceControlData> getControls() = 0;
33 };
std::string serialNum
Definition: IRsRtsp.h:16
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
Definition: rs_option.h:22
All the parameters required to define a video stream.
Definition: rs_internal.h:41
GLsizei const GLchar *const * string
static const textual_icon stop
Definition: model-views.h:225
std::string name
Definition: IRsRtsp.h:17
GLuint start
std::string usbType
Definition: IRsRtsp.h:18


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:17