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);
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:
23  bool m_isActive;
24 };
void openRsCamera(std::unordered_map< long long int, rs2::frame_queue > &t_streamProfiles)
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)
#define NULL
Definition: tinycthread.c:47
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)


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