testProgs/openRTSP.cpp File Reference

#include "playCommon.hh"

Include dependency graph for openRTSP.cpp:

Go to the source code of this file.

Functions

MediumcreateClient (UsageEnvironment &env, char const *url, int verbosityLevel, char const *applicationName)
void getOptions (RTSPClient::responseHandler *afterFunc)
void getSDPDescription (RTSPClient::responseHandler *afterFunc)
void setupSubsession (MediaSubsession *subsession, Boolean streamUsingTCP, RTSPClient::responseHandler *afterFunc)
void startPlayingSession (MediaSession *session, double start, double end, float scale, RTSPClient::responseHandler *afterFunc)
void startPlayingSession (MediaSession *session, char const *absStartTime, char const *absEndTime, float scale, RTSPClient::responseHandler *afterFunc)
void tearDownSession (MediaSession *session, RTSPClient::responseHandler *afterFunc)

Variables

RTSPClientourRTSPClient = NULL
Boolean allowProxyServers = False
Boolean controlConnectionUsesTCP = True
Boolean supportCodecSelection = False
char const * clientProtocolName = "RTSP"


Function Documentation

Medium* createClient ( UsageEnvironment env,
char const *  url,
int  verbosityLevel,
char const *  applicationName 
)

Definition at line 27 of file openRTSP.cpp.

Referenced by main().

00027                                                                                                               {
00028   extern portNumBits tunnelOverHTTPPortNum;
00029   return ourRTSPClient = RTSPClient::createNew(env, url, verbosityLevel, applicationName, tunnelOverHTTPPortNum);
00030 }

void getOptions ( RTSPClient::responseHandler afterFunc  ) 

Definition at line 32 of file openRTSP.cpp.

Referenced by main().

00032                                                       { 
00033   ourRTSPClient->sendOptionsCommand(afterFunc, ourAuthenticator);
00034 }

void getSDPDescription ( RTSPClient::responseHandler afterFunc  ) 

Definition at line 36 of file openRTSP.cpp.

Referenced by continueAfterOPTIONS().

00036                                                              {
00037   ourRTSPClient->sendDescribeCommand(afterFunc, ourAuthenticator);
00038 }

void setupSubsession ( MediaSubsession subsession,
Boolean  streamUsingTCP,
RTSPClient::responseHandler afterFunc 
)

Definition at line 40 of file openRTSP.cpp.

Referenced by setupStreams().

00040                                                                                                                 {
00041   Boolean forceMulticastOnUnspecified = False;
00042   ourRTSPClient->sendSetupCommand(*subsession, afterFunc, False, streamUsingTCP, forceMulticastOnUnspecified, ourAuthenticator);
00043 }

void startPlayingSession ( MediaSession session,
char const *  absStartTime,
char const *  absEndTime,
float  scale,
RTSPClient::responseHandler afterFunc 
)

Definition at line 49 of file openRTSP.cpp.

00049                                                                                                                                                      {
00050   ourRTSPClient->sendPlayCommand(*session, afterFunc, absStartTime, absEndTime, scale, ourAuthenticator);
00051 }

void startPlayingSession ( MediaSession session,
double  start,
double  end,
float  scale,
RTSPClient::responseHandler afterFunc 
)

Definition at line 45 of file openRTSP.cpp.

Referenced by sessionAfterPlaying(), setupStreams(), and startPlayingSession().

00045                                                                                                                              {
00046   ourRTSPClient->sendPlayCommand(*session, afterFunc, start, end, scale, ourAuthenticator);
00047 }

void tearDownSession ( MediaSession session,
RTSPClient::responseHandler afterFunc 
)

Definition at line 53 of file openRTSP.cpp.

Referenced by shutdown().

00053                                                                                   {
00054   ourRTSPClient->sendTeardownCommand(*session, afterFunc, ourAuthenticator);
00055 }


Variable Documentation

Boolean allowProxyServers = False

Definition at line 57 of file openRTSP.cpp.

Referenced by main(), and usage().

char const* clientProtocolName = "RTSP"

Definition at line 60 of file openRTSP.cpp.

Referenced by continueAfterOPTIONS(), and main().

Boolean controlConnectionUsesTCP = True

Definition at line 58 of file openRTSP.cpp.

Referenced by main(), and usage().

RTSPClient* ourRTSPClient = NULL

Definition at line 26 of file openRTSP.cpp.

Referenced by createClient(), getOptions(), getSDPDescription(), setupSubsession(), startPlayingSession(), and tearDownSession().

Boolean supportCodecSelection = False

Definition at line 59 of file openRTSP.cpp.

Referenced by usage().


Generated on Mon Apr 29 13:30:46 2013 for live by  doxygen 1.5.2