#include "playCommon.hh"Include dependency graph for openRTSP.cpp:

Go to the source code of this file.
Functions | |
| Medium * | createClient (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 | |
| RTSPClient * | ourRTSPClient = NULL |
| Boolean | allowProxyServers = False |
| Boolean | controlConnectionUsesTCP = True |
| Boolean | supportCodecSelection = False |
| char const * | clientProtocolName = "RTSP" |
| 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 }
| char const* clientProtocolName = "RTSP" |
| RTSPClient* ourRTSPClient = NULL |
Definition at line 26 of file openRTSP.cpp.
Referenced by createClient(), getOptions(), getSDPDescription(), setupSubsession(), startPlayingSession(), and tearDownSession().
1.5.2