RsMediaSession.hh
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2019 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 
6 #include "MediaSession.hh"
7 
8 class RsMediaSubsession; // forward
9 
10 class RsMediaSession : public MediaSession
11 {
12 public:
13  static RsMediaSession* createNew(UsageEnvironment& env, char const* sdpDescription);
14 
15 protected:
16  RsMediaSession(UsageEnvironment& env);
17  // called only by createNew();
18  virtual ~RsMediaSession();
19 
20  virtual MediaSubsession* createNewMediaSubsession();
21 
23 };
24 
26 {
27 public:
29  virtual ~RsMediaSubsessionIterator();
30 
31  RsMediaSubsession* next(); // NULL if none
32  void reset();
33 
34 private:
37 };
38 
39 class RsMediaSubsession : public MediaSubsession
40 {
41 protected:
42  friend class RsMediaSession;
45  virtual ~RsMediaSubsession();
46  virtual Boolean createSourceObjects(int useSpecialRTPoffset);
47  // create "fRTPSource" and "fReadSource" member objects, after we've been initialized via SDP
48 };
GLboolean reset
static RsMediaSession * createNew(UsageEnvironment &env, char const *sdpDescription)
virtual ~RsMediaSession()
RsMediaSubsession * fNextPtr
RsMediaSession const & fOurSession
virtual MediaSubsession * createNewMediaSubsession()
friend class RsMediaSubsessionIterator
RsMediaSession(UsageEnvironment &env)
void next(auto_any_t cur, type2type< T, C > *)
Definition: foreach.hpp:757


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