Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
tools
rs-server
RsServerMediaSession.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 "
RsDevice.hh
"
7
#include "ServerMediaSession.hh"
8
9
class
RsServerMediaSession
:
public
ServerMediaSession
10
{
11
public
:
12
static
RsServerMediaSession
*
createNew
(UsageEnvironment& t_env,
RsSensor
& t_sensor,
char
const
* t_streamName =
NULL
,
char
const
* t_info =
NULL
,
char
const
* t_description =
NULL
, Boolean t_isSSM = False,
char
const
* t_miscSDPLines =
NULL
);
13
RsSensor
&
getRsSensor
();
14
void
openRsCamera
(std::unordered_map<long long int, rs2::frame_queue>& t_streamProfiles);
15
void
closeRsCamera
();
16
17
protected
:
18
RsServerMediaSession
(UsageEnvironment& t_env,
RsSensor
& t_sensor,
char
const
* t_streamName,
char
const
* t_info,
char
const
* t_description, Boolean t_isSSM,
char
const
* t_miscSDPLines);
19
virtual
~RsServerMediaSession
();
20
21
private
:
22
RsSensor
m_rsSensor
;
23
bool
m_isActive
;
24
};
RsServerMediaSession
Definition:
RsServerMediaSession.h:9
RsServerMediaSession::m_isActive
bool m_isActive
Definition:
RsServerMediaSession.h:23
RsServerMediaSession::openRsCamera
void openRsCamera(std::unordered_map< long long int, rs2::frame_queue > &t_streamProfiles)
Definition:
RsServerMediaSession.cpp:21
RsServerMediaSession::RsServerMediaSession
RsServerMediaSession(UsageEnvironment &t_env, RsSensor &t_sensor, char const *t_streamName, char const *t_info, char const *t_description, Boolean t_isSSM, char const *t_miscSDPLines)
Definition:
RsServerMediaSession.cpp:13
RsServerMediaSession::getRsSensor
RsSensor & getRsSensor()
Definition:
RsServerMediaSession.cpp:43
RsServerMediaSession::~RsServerMediaSession
virtual ~RsServerMediaSession()
Definition:
RsServerMediaSession.cpp:19
RsServerMediaSession::m_rsSensor
RsSensor m_rsSensor
Definition:
RsServerMediaSession.h:22
RsDevice.hh
RsServerMediaSession::closeRsCamera
void closeRsCamera()
Definition:
RsServerMediaSession.cpp:33
NULL
#define NULL
Definition:
tinycthread.c:47
RsServerMediaSession::createNew
static RsServerMediaSession * createNew(UsageEnvironment &t_env, RsSensor &t_sensor, char const *t_streamName=NULL, char const *t_info=NULL, char const *t_description=NULL, Boolean t_isSSM=False, char const *t_miscSDPLines=NULL)
Definition:
RsServerMediaSession.cpp:8
RsSensor
Definition:
RsSensor.hh:19
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:41