live
Public Types | Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
ProxyRTSPClient Class Reference

#include <ProxyServerMediaSession.hh>

Inheritance diagram for ProxyRTSPClient:
Inheritance graph
[legend]
Collaboration diagram for ProxyRTSPClient:
Collaboration graph
[legend]

Public Types

typedef void() responseHandler(RTSPClient *rtspClient, int resultCode, char *resultString)
 

Public Member Functions

 ProxyRTSPClient (class ProxyServerMediaSession &ourServerMediaSession, char const *rtspURL, char const *username, char const *password, portNumBits tunnelOverHTTPPortNum, int verbosityLevel, int socketNumToServer)
 
virtual ~ProxyRTSPClient ()
 
void continueAfterDESCRIBE (char const *sdpDescription)
 
void continueAfterLivenessCommand (int resultCode, Boolean serverSupportsGetParameter)
 
void continueAfterSETUP (int resultCode)
 
void continueAfterPLAY (int resultCode)
 
void scheduleReset ()
 
unsigned sendDescribeCommand (responseHandler *responseHandler, Authenticator *authenticator=NULL)
 
unsigned sendOptionsCommand (responseHandler *responseHandler, Authenticator *authenticator=NULL)
 
unsigned sendAnnounceCommand (char const *sdpDescription, responseHandler *responseHandler, Authenticator *authenticator=NULL)
 
unsigned sendSetupCommand (MediaSubsession &subsession, responseHandler *responseHandler, Boolean streamOutgoing=False, Boolean streamUsingTCP=False, Boolean forceMulticastOnUnspecified=False, Authenticator *authenticator=NULL)
 
unsigned sendPlayCommand (MediaSession &session, responseHandler *responseHandler, double start=0.0f, double end=-1.0f, float scale=1.0f, Authenticator *authenticator=NULL)
 
unsigned sendPlayCommand (MediaSubsession &subsession, responseHandler *responseHandler, double start=0.0f, double end=-1.0f, float scale=1.0f, Authenticator *authenticator=NULL)
 
unsigned sendPlayCommand (MediaSession &session, responseHandler *responseHandler, char const *absStartTime, char const *absEndTime=NULL, float scale=1.0f, Authenticator *authenticator=NULL)
 
unsigned sendPlayCommand (MediaSubsession &subsession, responseHandler *responseHandler, char const *absStartTime, char const *absEndTime=NULL, float scale=1.0f, Authenticator *authenticator=NULL)
 
unsigned sendPauseCommand (MediaSession &session, responseHandler *responseHandler, Authenticator *authenticator=NULL)
 
unsigned sendPauseCommand (MediaSubsession &subsession, responseHandler *responseHandler, Authenticator *authenticator=NULL)
 
unsigned sendRecordCommand (MediaSession &session, responseHandler *responseHandler, Authenticator *authenticator=NULL)
 
unsigned sendRecordCommand (MediaSubsession &subsession, responseHandler *responseHandler, Authenticator *authenticator=NULL)
 
unsigned sendTeardownCommand (MediaSession &session, responseHandler *responseHandler, Authenticator *authenticator=NULL)
 
unsigned sendTeardownCommand (MediaSubsession &subsession, responseHandler *responseHandler, Authenticator *authenticator=NULL)
 
unsigned sendSetParameterCommand (MediaSession &session, responseHandler *responseHandler, char const *parameterName, char const *parameterValue, Authenticator *authenticator=NULL)
 
unsigned sendGetParameterCommand (MediaSession &session, responseHandler *responseHandler, char const *parameterName, Authenticator *authenticator=NULL)
 
void setRequireValue (char const *requireValue=NULL)
 
void sendDummyUDPPackets (MediaSession &session, unsigned numDummyPackets=2)
 
void sendDummyUDPPackets (MediaSubsession &subsession, unsigned numDummyPackets=2)
 
void setSpeed (MediaSession &session, float speed=1.0f)
 
Boolean changeResponseHandler (unsigned cseq, responseHandler *newResponseHandler)
 
int socketNum () const
 
Boolean parseRTSPURL (char const *url, char *&username, char *&password, NetAddress &address, portNumBits &portNum, char const **urlSuffix=NULL)
 
void setUserAgentString (char const *userAgentName)
 
void disallowBasicAuthentication ()
 
unsigned sessionTimeoutParameter () const
 
char const * url () const
 
UsageEnvironmentenvir () const
 
char const * name () const
 
virtual Boolean isSource () const
 
virtual Boolean isSink () const
 
virtual Boolean isRTCPInstance () const
 
virtual Boolean isRTSPServer () const
 
virtual Boolean isMediaSession () const
 
virtual Boolean isServerMediaSession () const
 

Static Public Member Functions

static RTSPClientcreateNew (UsageEnvironment &env, char const *rtspURL, int verbosityLevel=0, char const *applicationName=NULL, portNumBits tunnelOverHTTPPortNum=0, int socketNumToServer=-1)
 
static Boolean lookupByName (UsageEnvironment &env, char const *sourceName, RTSPClient *&resultClient)
 
static Boolean lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium)
 
static void close (UsageEnvironment &env, char const *mediumName)
 
static void close (Medium *medium)
 

Data Fields

u_int16_t desiredMaxIncomingPacketSize
 

Static Public Attributes

static unsigned responseBufferSize
 

Protected Member Functions

void setBaseURL (char const *url)
 
int grabSocket ()
 
virtual unsigned sendRequest (RequestRecord *request)
 
virtual Boolean setRequestFields (RequestRecord *request, char *&cmdURL, Boolean &cmdURLWasAllocated, char const *&protocolStr, char *&extraHeaders, Boolean &extraHeadersWereAllocated)
 
TaskTokennextTask ()
 

Protected Attributes

int fVerbosityLevel
 
unsigned fCSeq
 
Authenticator fCurrentAuthenticator
 
Boolean fAllowBasicAuthentication
 
struct sockaddr_storage fServerAddress
 

Private Member Functions

void reset ()
 
int connectToServer (int socketNum, portNumBits remotePortNum)
 
Authenticatorauth ()
 
void scheduleLivenessCommand ()
 
void doReset ()
 
void scheduleDESCRIBECommand ()
 
void sendDESCRIBE ()
 
void handleSubsessionTimeout ()
 
virtual Boolean isRTSPClient () const
 
void resetTCPSockets ()
 
void resetResponseBuffer ()
 
int openConnection ()
 
char * createAuthenticatorString (char const *cmd, char const *url)
 
char * createBlocksizeString (Boolean streamUsingTCP)
 
char * createKeyMgmtString (char const *url, MediaSubsession const &subsession)
 
void handleRequestError (RequestRecord *request)
 
Boolean parseResponseCode (char const *line, unsigned &responseCode, char const *&responseString)
 
void handleIncomingRequest ()
 
Boolean parseTransportParams (char const *paramsStr, char *&serverAddressStr, portNumBits &serverPortNum, unsigned char &rtpChannelId, unsigned char &rtcpChannelId)
 
Boolean parseScaleParam (char const *paramStr, float &scale)
 
Boolean parseSpeedParam (char const *paramStr, float &speed)
 
Boolean parseRTPInfoParams (char const *&paramStr, u_int16_t &seqNum, u_int32_t &timestamp)
 
Boolean handleSETUPResponse (MediaSubsession &subsession, char const *sessionParamsStr, char const *transportParamsStr, Boolean streamUsingTCP)
 
Boolean handlePLAYResponse (MediaSession *session, MediaSubsession *subsession, char const *scaleParamsStr, const char *speedParamsStr, char const *rangeParamsStr, char const *rtpInfoParamsStr)
 
Boolean handleTEARDOWNResponse (MediaSession &session, MediaSubsession &subsession)
 
Boolean handleGET_PARAMETERResponse (char const *parameterName, char *&resultValueString, char *resultValueStringEnd)
 
Boolean handleAuthenticationFailure (char const *wwwAuthenticateParamsStr)
 
Boolean resendCommand (RequestRecord *request)
 
char const * sessionURL (MediaSession const &session) const
 
void handleAlternativeRequestByte1 (u_int8_t requestByte)
 
void constructSubsessionURL (MediaSubsession const &subsession, char const *&prefix, char const *&separator, char const *&suffix)
 
Boolean setupHTTPTunneling1 ()
 
void responseHandlerForHTTP_GET1 (int responseCode, char *responseString)
 
Boolean setupHTTPTunneling2 ()
 
void connectionHandler1 ()
 
void incomingDataHandler1 ()
 
void handleResponseBytes (int newBytesRead)
 
int write (const char *data, unsigned count)
 
int read (u_int8_t *buffer, unsigned bufferSize)
 

Static Private Member Functions

static void sendLivenessCommand (void *clientData)
 
static void doReset (void *clientData)
 
static void sendDESCRIBE (void *clientData)
 
static void subsessionTimeout (void *clientData)
 
static Boolean checkForHeader (char const *line, char const *headerName, unsigned headerNameLength, char const *&headerParams)
 
static void handleAlternativeRequestByte (void *, u_int8_t requestByte)
 
static void responseHandlerForHTTP_GET (RTSPClient *rtspClient, int responseCode, char *responseString)
 
static void connectionHandler (void *, int)
 
static void incomingDataHandler (void *, int)
 

Private Attributes

ProxyServerMediaSessionfOurServerMediaSession
 
char * fOurURL
 
AuthenticatorfOurAuthenticator
 
Boolean fStreamRTPOverTCP
 
class ProxyServerMediaSubsessionfSetupQueueHead
 
class ProxyServerMediaSubsessionfSetupQueueTail
 
unsigned fNumSetupsDone
 
unsigned fNextDESCRIBEDelay
 
Boolean fServerSupportsGetParameter
 
Boolean fLastCommandWasPLAY
 
Boolean fDoneDESCRIBE
 
TaskToken fLivenessCommandTask
 
TaskToken fDESCRIBECommandTask
 
TaskToken fSubsessionTimerTask
 
TaskToken fResetTask
 
portNumBits fTunnelOverHTTPPortNum
 
char * fUserAgentHeaderStr
 
unsigned fUserAgentHeaderStrLen
 
int fInputSocketNum
 
int fOutputSocketNum
 
char * fBaseURL
 
unsigned char fTCPStreamIdCount
 
char * fLastSessionId
 
unsigned fSessionTimeoutParameter
 
char * fResponseBuffer
 
unsigned fResponseBytesAlreadySeen
 
unsigned fResponseBufferBytesLeft
 
RequestQueue fRequestsAwaitingConnection
 
RequestQueue fRequestsAwaitingHTTPTunneling
 
RequestQueue fRequestsAwaitingResponse
 
char * fRequireStr
 
char fSessionCookie [33]
 
unsigned fSessionCookieCounter
 
Boolean fHTTPTunnelingConnectionIsPending
 
ClientTLSState fTLS
 
ClientTLSState fPOSTSocketTLS
 
ClientTLSStatefInputTLS
 
ClientTLSStatefOutputTLS
 
UsageEnvironmentfEnviron
 
char fMediumName [mediumNameMaxLen]
 
TaskToken fNextTask
 

Friends

class ProxyServerMediaSession
 
class ProxyServerMediaSubsession
 

Detailed Description

Definition at line 42 of file ProxyServerMediaSession.hh.

Member Typedef Documentation

◆ responseHandler

typedef void() RTSPClient::responseHandler(RTSPClient *rtspClient, int resultCode, char *resultString)
inherited

Definition at line 55 of file RTSPClient.hh.

Constructor & Destructor Documentation

◆ ProxyRTSPClient()

ProxyRTSPClient::ProxyRTSPClient ( class ProxyServerMediaSession ourServerMediaSession,
char const *  rtspURL,
char const *  username,
char const *  password,
portNumBits  tunnelOverHTTPPortNum,
int  verbosityLevel,
int  socketNumToServer 
)

◆ ~ProxyRTSPClient()

virtual ProxyRTSPClient::~ProxyRTSPClient ( )
virtual

Member Function Documentation

◆ auth()

Authenticator * ProxyRTSPClient::auth ( )
inlineprivate

Definition at line 59 of file ProxyServerMediaSession.hh.

59{ return fOurAuthenticator; }
Authenticator * fOurAuthenticator

References fOurAuthenticator.

◆ changeResponseHandler()

Boolean RTSPClient::changeResponseHandler ( unsigned  cseq,
responseHandler newResponseHandler 
)
inherited

◆ checkForHeader()

static Boolean RTSPClient::checkForHeader ( char const *  line,
char const *  headerName,
unsigned  headerNameLength,
char const *&  headerParams 
)
staticprivateinherited

◆ close() [1/2]

static void Medium::close ( Medium medium)
staticinherited

◆ close() [2/2]

static void Medium::close ( UsageEnvironment env,
char const *  mediumName 
)
staticinherited

◆ connectionHandler()

static void RTSPClient::connectionHandler ( void *  ,
int   
)
staticprivateinherited

◆ connectionHandler1()

void RTSPClient::connectionHandler1 ( )
privateinherited

◆ connectToServer()

int ProxyRTSPClient::connectToServer ( int  socketNum,
portNumBits  remotePortNum 
)
privatevirtual

Reimplemented from RTSPClient.

◆ constructSubsessionURL()

void RTSPClient::constructSubsessionURL ( MediaSubsession const &  subsession,
char const *&  prefix,
char const *&  separator,
char const *&  suffix 
)
privateinherited

◆ continueAfterDESCRIBE()

void ProxyRTSPClient::continueAfterDESCRIBE ( char const *  sdpDescription)

◆ continueAfterLivenessCommand()

void ProxyRTSPClient::continueAfterLivenessCommand ( int  resultCode,
Boolean  serverSupportsGetParameter 
)

◆ continueAfterPLAY()

void ProxyRTSPClient::continueAfterPLAY ( int  resultCode)

◆ continueAfterSETUP()

void ProxyRTSPClient::continueAfterSETUP ( int  resultCode)

◆ createAuthenticatorString()

char * RTSPClient::createAuthenticatorString ( char const *  cmd,
char const *  url 
)
privateinherited

◆ createBlocksizeString()

char * RTSPClient::createBlocksizeString ( Boolean  streamUsingTCP)
privateinherited

◆ createKeyMgmtString()

char * RTSPClient::createKeyMgmtString ( char const *  url,
MediaSubsession const &  subsession 
)
privateinherited

◆ createNew()

static RTSPClient * RTSPClient::createNew ( UsageEnvironment env,
char const *  rtspURL,
int  verbosityLevel = 0,
char const *  applicationName = NULL,
portNumBits  tunnelOverHTTPPortNum = 0,
int  socketNumToServer = -1 
)
staticinherited

◆ disallowBasicAuthentication()

void RTSPClient::disallowBasicAuthentication ( )
inlineinherited

Definition at line 190 of file RTSPClient.hh.

const Boolean False
Definition: Boolean.hh:28
Boolean fAllowBasicAuthentication
Definition: RTSPClient.hh:341

References RTSPClient::fAllowBasicAuthentication, and False.

◆ doReset() [1/2]

void ProxyRTSPClient::doReset ( )
private

◆ doReset() [2/2]

static void ProxyRTSPClient::doReset ( void *  clientData)
staticprivate

◆ envir()

UsageEnvironment & Medium::envir ( ) const
inlineinherited

◆ grabSocket()

int RTSPClient::grabSocket ( )
protectedinherited

◆ handleAlternativeRequestByte()

static void RTSPClient::handleAlternativeRequestByte ( void *  ,
u_int8_t  requestByte 
)
staticprivateinherited

◆ handleAlternativeRequestByte1()

void RTSPClient::handleAlternativeRequestByte1 ( u_int8_t  requestByte)
privateinherited

◆ handleAuthenticationFailure()

Boolean RTSPClient::handleAuthenticationFailure ( char const *  wwwAuthenticateParamsStr)
privateinherited

◆ handleGET_PARAMETERResponse()

Boolean RTSPClient::handleGET_PARAMETERResponse ( char const *  parameterName,
char *&  resultValueString,
char *  resultValueStringEnd 
)
privateinherited

◆ handleIncomingRequest()

void RTSPClient::handleIncomingRequest ( )
privateinherited

◆ handlePLAYResponse()

Boolean RTSPClient::handlePLAYResponse ( MediaSession session,
MediaSubsession subsession,
char const *  scaleParamsStr,
const char *  speedParamsStr,
char const *  rangeParamsStr,
char const *  rtpInfoParamsStr 
)
privateinherited

◆ handleRequestError()

void RTSPClient::handleRequestError ( RequestRecord request)
privateinherited

◆ handleResponseBytes()

void RTSPClient::handleResponseBytes ( int  newBytesRead)
privateinherited

◆ handleSETUPResponse()

Boolean RTSPClient::handleSETUPResponse ( MediaSubsession subsession,
char const *  sessionParamsStr,
char const *  transportParamsStr,
Boolean  streamUsingTCP 
)
privateinherited

◆ handleSubsessionTimeout()

void ProxyRTSPClient::handleSubsessionTimeout ( )
private

◆ handleTEARDOWNResponse()

Boolean RTSPClient::handleTEARDOWNResponse ( MediaSession session,
MediaSubsession subsession 
)
privateinherited

◆ incomingDataHandler()

static void RTSPClient::incomingDataHandler ( void *  ,
int   
)
staticprivateinherited

◆ incomingDataHandler1()

void RTSPClient::incomingDataHandler1 ( )
privateinherited

◆ isMediaSession()

virtual Boolean Medium::isMediaSession ( ) const
virtualinherited

Reimplemented in MediaSession.

◆ isRTCPInstance()

virtual Boolean Medium::isRTCPInstance ( ) const
virtualinherited

Reimplemented in RTCPInstance.

◆ isRTSPClient()

virtual Boolean RTSPClient::isRTSPClient ( ) const
privatevirtualinherited

Reimplemented from Medium.

◆ isRTSPServer()

virtual Boolean Medium::isRTSPServer ( ) const
virtualinherited

Reimplemented in RTSPServer.

◆ isServerMediaSession()

virtual Boolean Medium::isServerMediaSession ( ) const
virtualinherited

Reimplemented in ServerMediaSession.

◆ isSink()

virtual Boolean Medium::isSink ( ) const
virtualinherited

Reimplemented in MediaSink.

◆ isSource()

virtual Boolean Medium::isSource ( ) const
virtualinherited

Reimplemented in MediaSource.

◆ lookupByName() [1/2]

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

◆ lookupByName() [2/2]

static Boolean RTSPClient::lookupByName ( UsageEnvironment env,
char const *  sourceName,
RTSPClient *&  resultClient 
)
staticinherited

◆ name()

char const * Medium::name ( ) const
inlineinherited

Definition at line 61 of file Media.hh.

61{return fMediumName;}
char fMediumName[mediumNameMaxLen]
Definition: Media.hh:83

References Medium::fMediumName.

◆ nextTask()

TaskToken & Medium::nextTask ( )
inlineprotectedinherited

Definition at line 77 of file Media.hh.

77 {
78 return fNextTask;
79 }
TaskToken fNextTask
Definition: Media.hh:84

References Medium::fNextTask.

◆ openConnection()

int RTSPClient::openConnection ( )
privateinherited

◆ parseResponseCode()

Boolean RTSPClient::parseResponseCode ( char const *  line,
unsigned &  responseCode,
char const *&  responseString 
)
privateinherited

◆ parseRTPInfoParams()

Boolean RTSPClient::parseRTPInfoParams ( char const *&  paramStr,
u_int16_t &  seqNum,
u_int32_t &  timestamp 
)
privateinherited

◆ parseRTSPURL()

Boolean RTSPClient::parseRTSPURL ( char const *  url,
char *&  username,
char *&  password,
NetAddress address,
portNumBits portNum,
char const **  urlSuffix = NULL 
)
inherited

◆ parseScaleParam()

Boolean RTSPClient::parseScaleParam ( char const *  paramStr,
float &  scale 
)
privateinherited

◆ parseSpeedParam()

Boolean RTSPClient::parseSpeedParam ( char const *  paramStr,
float &  speed 
)
privateinherited

◆ parseTransportParams()

Boolean RTSPClient::parseTransportParams ( char const *  paramsStr,
char *&  serverAddressStr,
portNumBits serverPortNum,
unsigned char &  rtpChannelId,
unsigned char &  rtcpChannelId 
)
privateinherited

◆ read()

int RTSPClient::read ( u_int8_t *  buffer,
unsigned  bufferSize 
)
privateinherited

◆ resendCommand()

Boolean RTSPClient::resendCommand ( RequestRecord request)
privateinherited

◆ reset()

void ProxyRTSPClient::reset ( )
private

◆ resetResponseBuffer()

void RTSPClient::resetResponseBuffer ( )
privateinherited

◆ resetTCPSockets()

void RTSPClient::resetTCPSockets ( )
privateinherited

◆ responseHandlerForHTTP_GET()

static void RTSPClient::responseHandlerForHTTP_GET ( RTSPClient rtspClient,
int  responseCode,
char *  responseString 
)
staticprivateinherited

◆ responseHandlerForHTTP_GET1()

void RTSPClient::responseHandlerForHTTP_GET1 ( int  responseCode,
char *  responseString 
)
privateinherited

◆ scheduleDESCRIBECommand()

void ProxyRTSPClient::scheduleDESCRIBECommand ( )
private

◆ scheduleLivenessCommand()

void ProxyRTSPClient::scheduleLivenessCommand ( )
private

◆ scheduleReset()

void ProxyRTSPClient::scheduleReset ( )

◆ sendAnnounceCommand()

unsigned RTSPClient::sendAnnounceCommand ( char const *  sdpDescription,
responseHandler responseHandler,
Authenticator authenticator = NULL 
)
inherited

◆ sendDESCRIBE() [1/2]

void ProxyRTSPClient::sendDESCRIBE ( )
private

◆ sendDESCRIBE() [2/2]

static void ProxyRTSPClient::sendDESCRIBE ( void *  clientData)
staticprivate

◆ sendDescribeCommand()

unsigned RTSPClient::sendDescribeCommand ( responseHandler responseHandler,
Authenticator authenticator = NULL 
)
inherited

◆ sendDummyUDPPackets() [1/2]

void RTSPClient::sendDummyUDPPackets ( MediaSession session,
unsigned  numDummyPackets = 2 
)
inherited

◆ sendDummyUDPPackets() [2/2]

void RTSPClient::sendDummyUDPPackets ( MediaSubsession subsession,
unsigned  numDummyPackets = 2 
)
inherited

◆ sendGetParameterCommand()

unsigned RTSPClient::sendGetParameterCommand ( MediaSession session,
responseHandler responseHandler,
char const *  parameterName,
Authenticator authenticator = NULL 
)
inherited

◆ sendLivenessCommand()

static void ProxyRTSPClient::sendLivenessCommand ( void *  clientData)
staticprivate

◆ sendOptionsCommand()

unsigned RTSPClient::sendOptionsCommand ( responseHandler responseHandler,
Authenticator authenticator = NULL 
)
inherited

◆ sendPauseCommand() [1/2]

unsigned RTSPClient::sendPauseCommand ( MediaSession session,
responseHandler responseHandler,
Authenticator authenticator = NULL 
)
inherited

◆ sendPauseCommand() [2/2]

unsigned RTSPClient::sendPauseCommand ( MediaSubsession subsession,
responseHandler responseHandler,
Authenticator authenticator = NULL 
)
inherited

◆ sendPlayCommand() [1/4]

unsigned RTSPClient::sendPlayCommand ( MediaSession session,
responseHandler responseHandler,
char const *  absStartTime,
char const *  absEndTime = NULL,
float  scale = 1.0f,
Authenticator authenticator = NULL 
)
inherited

◆ sendPlayCommand() [2/4]

unsigned RTSPClient::sendPlayCommand ( MediaSession session,
responseHandler responseHandler,
double  start = 0.0f,
double  end = -1.0f,
float  scale = 1.0f,
Authenticator authenticator = NULL 
)
inherited

◆ sendPlayCommand() [3/4]

unsigned RTSPClient::sendPlayCommand ( MediaSubsession subsession,
responseHandler responseHandler,
char const *  absStartTime,
char const *  absEndTime = NULL,
float  scale = 1.0f,
Authenticator authenticator = NULL 
)
inherited

◆ sendPlayCommand() [4/4]

unsigned RTSPClient::sendPlayCommand ( MediaSubsession subsession,
responseHandler responseHandler,
double  start = 0.0f,
double  end = -1.0f,
float  scale = 1.0f,
Authenticator authenticator = NULL 
)
inherited

◆ sendRecordCommand() [1/2]

unsigned RTSPClient::sendRecordCommand ( MediaSession session,
responseHandler responseHandler,
Authenticator authenticator = NULL 
)
inherited

◆ sendRecordCommand() [2/2]

unsigned RTSPClient::sendRecordCommand ( MediaSubsession subsession,
responseHandler responseHandler,
Authenticator authenticator = NULL 
)
inherited

◆ sendRequest()

virtual unsigned RTSPClient::sendRequest ( RequestRecord request)
protectedvirtualinherited

◆ sendSetParameterCommand()

unsigned RTSPClient::sendSetParameterCommand ( MediaSession session,
responseHandler responseHandler,
char const *  parameterName,
char const *  parameterValue,
Authenticator authenticator = NULL 
)
inherited

◆ sendSetupCommand()

unsigned RTSPClient::sendSetupCommand ( MediaSubsession subsession,
responseHandler responseHandler,
Boolean  streamOutgoing = False,
Boolean  streamUsingTCP = False,
Boolean  forceMulticastOnUnspecified = False,
Authenticator authenticator = NULL 
)
inherited

◆ sendTeardownCommand() [1/2]

unsigned RTSPClient::sendTeardownCommand ( MediaSession session,
responseHandler responseHandler,
Authenticator authenticator = NULL 
)
inherited

◆ sendTeardownCommand() [2/2]

unsigned RTSPClient::sendTeardownCommand ( MediaSubsession subsession,
responseHandler responseHandler,
Authenticator authenticator = NULL 
)
inherited

◆ sessionTimeoutParameter()

unsigned RTSPClient::sessionTimeoutParameter ( ) const
inlineinherited

Definition at line 194 of file RTSPClient.hh.

194{ return fSessionTimeoutParameter; }
unsigned fSessionTimeoutParameter
Definition: RTSPClient.hh:352

References RTSPClient::fSessionTimeoutParameter.

◆ sessionURL()

char const * RTSPClient::sessionURL ( MediaSession const &  session) const
privateinherited

◆ setBaseURL()

void RTSPClient::setBaseURL ( char const *  url)
protectedinherited

◆ setRequestFields()

virtual Boolean RTSPClient::setRequestFields ( RequestRecord request,
char *&  cmdURL,
Boolean cmdURLWasAllocated,
char const *&  protocolStr,
char *&  extraHeaders,
Boolean extraHeadersWereAllocated 
)
protectedvirtualinherited

Reimplemented in RTSPRegisterSender, and RTSPDeregisterSender.

◆ setRequireValue()

void RTSPClient::setRequireValue ( char const *  requireValue = NULL)
inherited

◆ setSpeed()

void RTSPClient::setSpeed ( MediaSession session,
float  speed = 1.0f 
)
inherited

◆ setupHTTPTunneling1()

Boolean RTSPClient::setupHTTPTunneling1 ( )
privateinherited

◆ setupHTTPTunneling2()

Boolean RTSPClient::setupHTTPTunneling2 ( )
privateinherited

◆ setUserAgentString()

void RTSPClient::setUserAgentString ( char const *  userAgentName)
inherited

◆ socketNum()

int RTSPClient::socketNum ( ) const
inlineinherited

Definition at line 176 of file RTSPClient.hh.

176{ return fInputSocketNum; }
int fInputSocketNum
Definition: RTSPClient.hh:348

References RTSPClient::fInputSocketNum.

◆ subsessionTimeout()

static void ProxyRTSPClient::subsessionTimeout ( void *  clientData)
staticprivate

◆ url()

char const * RTSPClient::url ( ) const
inlineinherited

Definition at line 196 of file RTSPClient.hh.

196{ return fBaseURL; }
char * fBaseURL
Definition: RTSPClient.hh:349

References RTSPClient::fBaseURL.

◆ write()

int RTSPClient::write ( const char *  data,
unsigned  count 
)
privateinherited

Friends And Related Function Documentation

◆ ProxyServerMediaSession

friend class ProxyServerMediaSession
friend

Definition at line 74 of file ProxyServerMediaSession.hh.

◆ ProxyServerMediaSubsession

friend class ProxyServerMediaSubsession
friend

Definition at line 75 of file ProxyServerMediaSession.hh.

Field Documentation

◆ desiredMaxIncomingPacketSize

u_int16_t RTSPClient::desiredMaxIncomingPacketSize
inherited

Definition at line 333 of file RTSPClient.hh.

◆ fAllowBasicAuthentication

Boolean RTSPClient::fAllowBasicAuthentication
protectedinherited

Definition at line 341 of file RTSPClient.hh.

Referenced by RTSPClient::disallowBasicAuthentication().

◆ fBaseURL

char* RTSPClient::fBaseURL
privateinherited

Definition at line 349 of file RTSPClient.hh.

Referenced by RTSPClient::url().

◆ fCSeq

unsigned RTSPClient::fCSeq
protectedinherited

Definition at line 339 of file RTSPClient.hh.

◆ fCurrentAuthenticator

Authenticator RTSPClient::fCurrentAuthenticator
protectedinherited

Definition at line 340 of file RTSPClient.hh.

◆ fDESCRIBECommandTask

TaskToken ProxyRTSPClient::fDESCRIBECommandTask
private

Definition at line 84 of file ProxyServerMediaSession.hh.

◆ fDoneDESCRIBE

Boolean ProxyRTSPClient::fDoneDESCRIBE
private

Definition at line 83 of file ProxyServerMediaSession.hh.

◆ fEnviron

UsageEnvironment& Medium::fEnviron
privateinherited

Definition at line 82 of file Media.hh.

Referenced by Medium::envir().

◆ fHTTPTunnelingConnectionIsPending

Boolean RTSPClient::fHTTPTunnelingConnectionIsPending
privateinherited

Definition at line 361 of file RTSPClient.hh.

◆ fInputSocketNum

int RTSPClient::fInputSocketNum
privateinherited

Definition at line 348 of file RTSPClient.hh.

Referenced by RTSPClient::socketNum().

◆ fInputTLS

ClientTLSState* RTSPClient::fInputTLS
privateinherited

Definition at line 366 of file RTSPClient.hh.

◆ fLastCommandWasPLAY

Boolean ProxyRTSPClient::fLastCommandWasPLAY
private

Definition at line 83 of file ProxyServerMediaSession.hh.

◆ fLastSessionId

char* RTSPClient::fLastSessionId
privateinherited

Definition at line 351 of file RTSPClient.hh.

◆ fLivenessCommandTask

TaskToken ProxyRTSPClient::fLivenessCommandTask
private

Definition at line 84 of file ProxyServerMediaSession.hh.

◆ fMediumName

char Medium::fMediumName[mediumNameMaxLen]
privateinherited

Definition at line 83 of file Media.hh.

Referenced by Medium::name().

◆ fNextDESCRIBEDelay

unsigned ProxyRTSPClient::fNextDESCRIBEDelay
private

Definition at line 82 of file ProxyServerMediaSession.hh.

◆ fNextTask

TaskToken Medium::fNextTask
privateinherited

Definition at line 84 of file Media.hh.

Referenced by Medium::nextTask().

◆ fNumSetupsDone

unsigned ProxyRTSPClient::fNumSetupsDone
private

Definition at line 81 of file ProxyServerMediaSession.hh.

◆ fOurAuthenticator

Authenticator* ProxyRTSPClient::fOurAuthenticator
private

Definition at line 78 of file ProxyServerMediaSession.hh.

Referenced by auth().

◆ fOurServerMediaSession

ProxyServerMediaSession& ProxyRTSPClient::fOurServerMediaSession
private

Definition at line 76 of file ProxyServerMediaSession.hh.

◆ fOurURL

char* ProxyRTSPClient::fOurURL
private

Definition at line 77 of file ProxyServerMediaSession.hh.

◆ fOutputSocketNum

int RTSPClient::fOutputSocketNum
privateinherited

Definition at line 348 of file RTSPClient.hh.

◆ fOutputTLS

ClientTLSState* RTSPClient::fOutputTLS
privateinherited

Definition at line 367 of file RTSPClient.hh.

◆ fPOSTSocketTLS

ClientTLSState RTSPClient::fPOSTSocketTLS
privateinherited

Definition at line 365 of file RTSPClient.hh.

◆ fRequestsAwaitingConnection

RequestQueue RTSPClient::fRequestsAwaitingConnection
privateinherited

Definition at line 355 of file RTSPClient.hh.

◆ fRequestsAwaitingHTTPTunneling

RequestQueue RTSPClient::fRequestsAwaitingHTTPTunneling
privateinherited

Definition at line 355 of file RTSPClient.hh.

◆ fRequestsAwaitingResponse

RequestQueue RTSPClient::fRequestsAwaitingResponse
privateinherited

Definition at line 355 of file RTSPClient.hh.

◆ fRequireStr

char* RTSPClient::fRequireStr
privateinherited

Definition at line 356 of file RTSPClient.hh.

◆ fResetTask

TaskToken ProxyRTSPClient::fResetTask
private

Definition at line 84 of file ProxyServerMediaSession.hh.

◆ fResponseBuffer

char* RTSPClient::fResponseBuffer
privateinherited

Definition at line 353 of file RTSPClient.hh.

◆ fResponseBufferBytesLeft

unsigned RTSPClient::fResponseBufferBytesLeft
privateinherited

Definition at line 354 of file RTSPClient.hh.

◆ fResponseBytesAlreadySeen

unsigned RTSPClient::fResponseBytesAlreadySeen
privateinherited

Definition at line 354 of file RTSPClient.hh.

◆ fServerAddress

struct sockaddr_storage RTSPClient::fServerAddress
protectedinherited

Definition at line 342 of file RTSPClient.hh.

◆ fServerSupportsGetParameter

Boolean ProxyRTSPClient::fServerSupportsGetParameter
private

Definition at line 83 of file ProxyServerMediaSession.hh.

◆ fSessionCookie

char RTSPClient::fSessionCookie[33]
privateinherited

Definition at line 359 of file RTSPClient.hh.

◆ fSessionCookieCounter

unsigned RTSPClient::fSessionCookieCounter
privateinherited

Definition at line 360 of file RTSPClient.hh.

◆ fSessionTimeoutParameter

unsigned RTSPClient::fSessionTimeoutParameter
privateinherited

Definition at line 352 of file RTSPClient.hh.

Referenced by RTSPClient::sessionTimeoutParameter().

◆ fSetupQueueHead

class ProxyServerMediaSubsession* ProxyRTSPClient::fSetupQueueHead
private

Definition at line 80 of file ProxyServerMediaSession.hh.

◆ fSetupQueueTail

class ProxyServerMediaSubsession * ProxyRTSPClient::fSetupQueueTail
private

Definition at line 80 of file ProxyServerMediaSession.hh.

◆ fStreamRTPOverTCP

Boolean ProxyRTSPClient::fStreamRTPOverTCP
private

Definition at line 79 of file ProxyServerMediaSession.hh.

◆ fSubsessionTimerTask

TaskToken ProxyRTSPClient::fSubsessionTimerTask
private

Definition at line 84 of file ProxyServerMediaSession.hh.

◆ fTCPStreamIdCount

unsigned char RTSPClient::fTCPStreamIdCount
privateinherited

Definition at line 350 of file RTSPClient.hh.

◆ fTLS

ClientTLSState RTSPClient::fTLS
privateinherited

Definition at line 364 of file RTSPClient.hh.

◆ fTunnelOverHTTPPortNum

portNumBits RTSPClient::fTunnelOverHTTPPortNum
privateinherited

Definition at line 345 of file RTSPClient.hh.

◆ fUserAgentHeaderStr

char* RTSPClient::fUserAgentHeaderStr
privateinherited

Definition at line 346 of file RTSPClient.hh.

◆ fUserAgentHeaderStrLen

unsigned RTSPClient::fUserAgentHeaderStrLen
privateinherited

Definition at line 347 of file RTSPClient.hh.

◆ fVerbosityLevel

int RTSPClient::fVerbosityLevel
protectedinherited

Definition at line 338 of file RTSPClient.hh.

◆ responseBufferSize

unsigned RTSPClient::responseBufferSize
staticinherited

Definition at line 198 of file RTSPClient.hh.


The documentation for this class was generated from the following file: