Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
ethernet
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
"
8
#include <
ipDeviceCommon/RsCommon.h
>
9
10
#include <
librealsense2/hpp/rs_internal.hpp
>
11
12
#include <vector>
13
14
struct
DeviceData
15
{
16
std::string
serialNum
;
17
std::string
name
;
18
std::string
usbType
;
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
};
rtp_callback.hh
DeviceData::serialNum
std::string serialNum
Definition:
IRsRtsp.h:16
rs_internal.hpp
rs2_option
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
Definition:
rs_option.h:22
rs2_video_stream
All the parameters required to define a video stream.
Definition:
rs_internal.h:41
string
GLsizei const GLchar *const * string
Definition:
glad/glad/glad.h:2862
rs2::textual_icons::stop
static const textual_icon stop
Definition:
model-views.h:225
DeviceData::name
std::string name
Definition:
IRsRtsp.h:17
start
GLuint start
Definition:
glad/glad/glad.h:2396
RsCommon.h
DeviceData
Definition:
IRsRtsp.h:14
RsSink.h
IRsRtsp
Definition:
IRsRtsp.h:21
rtp_callback
Definition:
rtp_callback.hh:11
DeviceData::usbType
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