DarwinInjector Class Reference

#include <DarwinInjector.hh>

Inheritance diagram for DarwinInjector:

Inheritance graph
Collaboration diagram for DarwinInjector:

Collaboration graph

Public Member Functions

void addStream (RTPSink *rtpSink, RTCPInstance *rtcpInstance)
Boolean setDestination (char const *remoteRTSPServerNameOrAddress, char const *remoteFileName, char const *sessionName="", char const *sessionInfo="", portNumBits remoteRTSPServerPortNumber=554, char const *remoteUserName="", char const *remotePassword="", char const *sessionAuthor="", char const *sessionCopyright="", int timeout=-1)
UsageEnvironmentenvir () const
char const * name () const
virtual Boolean isSource () const
virtual Boolean isSink () const
virtual Boolean isRTCPInstance () const
virtual Boolean isRTSPClient () const
virtual Boolean isRTSPServer () const
virtual Boolean isMediaSession () const
virtual Boolean isServerMediaSession () const

Static Public Member Functions

static DarwinInjectorcreateNew (UsageEnvironment &env, char const *applicationName="DarwinInjector", int verbosityLevel=0)
static Boolean lookupByName (UsageEnvironment &env, char const *name, DarwinInjector *&result)
static Boolean lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium)
static void close (UsageEnvironment &env, char const *mediumName)
static void close (Medium *medium)

Protected Member Functions

TaskTokennextTask ()

Private Member Functions

virtual Boolean isDarwinInjector () const
 DarwinInjector (UsageEnvironment &env, char const *applicationName, int verbosityLevel)
virtual ~DarwinInjector ()
void genericResponseHandler1 (int responseCode, char *responseString)

Static Private Member Functions

static void genericResponseHandler (RTSPClient *rtspClient, int responseCode, char *responseString)

Private Attributes

char const * fApplicationName
int fVerbosityLevel
unsigned fSubstreamSDPSizes
SubstreamDescriptor * fHeadSubstream
SubstreamDescriptor * fTailSubstream
unsigned fLastTrackId
char fWatchVariable
int fResultCode
char * fResultString


class MediaLookupTable

Detailed Description

Definition at line 57 of file DarwinInjector.hh.

Constructor & Destructor Documentation

DarwinInjector::DarwinInjector ( UsageEnvironment env,
char const *  applicationName,
int  verbosityLevel 
) [private]

virtual DarwinInjector::~DarwinInjector (  )  [private, virtual]

Member Function Documentation

static DarwinInjector* DarwinInjector::createNew ( UsageEnvironment env,
char const *  applicationName = "DarwinInjector",
int  verbosityLevel = 0 
) [static]

static Boolean DarwinInjector::lookupByName ( UsageEnvironment env,
char const *  name,
DarwinInjector *&  result 
) [static]

void DarwinInjector::addStream ( RTPSink rtpSink,
RTCPInstance rtcpInstance 

Boolean DarwinInjector::setDestination ( char const *  remoteRTSPServerNameOrAddress,
char const *  remoteFileName,
char const *  sessionName = "",
char const *  sessionInfo = "",
portNumBits  remoteRTSPServerPortNumber = 554,
char const *  remoteUserName = "",
char const *  remotePassword = "",
char const *  sessionAuthor = "",
char const *  sessionCopyright = "",
int  timeout = -1 

virtual Boolean DarwinInjector::isDarwinInjector (  )  const [private, virtual]

Reimplemented from Medium.

static void DarwinInjector::genericResponseHandler ( RTSPClient rtspClient,
int  responseCode,
char *  responseString 
) [static, private]

void DarwinInjector::genericResponseHandler1 ( int  responseCode,
char *  responseString 
) [private]

static Boolean Medium::lookupByName ( UsageEnvironment env,
char const *  mediumName,
Medium *&  resultMedium 
) [static, inherited]

static void Medium::close ( UsageEnvironment env,
char const *  mediumName 
) [static, inherited]

static void Medium::close ( Medium medium  )  [static, inherited]

UsageEnvironment& Medium::envir (  )  const [inline, inherited]

Definition at line 59 of file Media.hh.

References Medium::fEnviron.

Referenced by MediaSubsession::env(), RTSPServer::RTSPClientSession::envir(), RTSPServer::RTSPClientConnection::envir(), and RTPInterface::envir().

00059 {return fEnviron;}

char const* Medium::name (  )  const [inline, inherited]

Definition at line 61 of file Media.hh.

References Medium::fMediumName.

00061 {return fMediumName;}

virtual Boolean Medium::isSource (  )  const [virtual, inherited]

Reimplemented in MediaSource.

virtual Boolean Medium::isSink (  )  const [virtual, inherited]

Reimplemented in MediaSink.

virtual Boolean Medium::isRTCPInstance (  )  const [virtual, inherited]

Reimplemented in RTCPInstance.

virtual Boolean Medium::isRTSPClient (  )  const [virtual, inherited]

Reimplemented in RTSPClient.

virtual Boolean Medium::isRTSPServer (  )  const [virtual, inherited]

Reimplemented in RTSPServer.

virtual Boolean Medium::isMediaSession (  )  const [virtual, inherited]

Reimplemented in MediaSession.

virtual Boolean Medium::isServerMediaSession (  )  const [virtual, inherited]

Reimplemented in ServerMediaSession.

TaskToken& Medium::nextTask (  )  [inline, protected, inherited]

Definition at line 78 of file Media.hh.

References Medium::fNextTask.

00078                         {
00079         return fNextTask;
00080   }

Friends And Related Function Documentation

friend class MediaLookupTable [friend, inherited]

Definition at line 74 of file Media.hh.

Field Documentation

char const* DarwinInjector::fApplicationName [private]

Definition at line 93 of file DarwinInjector.hh.

int DarwinInjector::fVerbosityLevel [private]

Definition at line 94 of file DarwinInjector.hh.

RTSPClient* DarwinInjector::fRTSPClient [private]

Definition at line 95 of file DarwinInjector.hh.

unsigned DarwinInjector::fSubstreamSDPSizes [private]

Definition at line 96 of file DarwinInjector.hh.

SubstreamDescriptor* DarwinInjector::fHeadSubstream [private]

Definition at line 97 of file DarwinInjector.hh.

SubstreamDescriptor* DarwinInjector::fTailSubstream [private]

Definition at line 98 of file DarwinInjector.hh.

MediaSession* DarwinInjector::fSession [private]

Definition at line 99 of file DarwinInjector.hh.

unsigned DarwinInjector::fLastTrackId [private]

Definition at line 100 of file DarwinInjector.hh.

char DarwinInjector::fWatchVariable [private]

Definition at line 101 of file DarwinInjector.hh.

int DarwinInjector::fResultCode [private]

Definition at line 102 of file DarwinInjector.hh.

char* DarwinInjector::fResultString [private]

Definition at line 103 of file DarwinInjector.hh.

The documentation for this class was generated from the following file:
Generated on Sun Jul 13 05:11:18 2014 for live by  doxygen 1.5.2