#include <RtspSnifferSession.h>
This class uses the liveMedia library for the RTSP communication with the RTSP server It stores media subsessions in a vector which are then used to create and configure the DirectShow output pins with the correct media parameters
Definition at line 50 of file RtspSnifferSession.h.
Public Member Functions | |
RtspSnifferSession () | |
Constructor. | |
~RtspSnifferSession () | |
Constructor. | |
bool | getMediaSessionInformation (const std::string sUrl, int nTimeOut=-1) |
This method returns the media type information necessary to construct the filter's output pins. | |
std::vector < MediaSubsession * > | getMediaSubsessions () |
std::string | getLastError () |
void | shutdown () |
Shutdown RTSP session cleanly. | |
Static Public Member Functions | |
static void | subsessionByeHandler (void *clientData) |
Bye Handler. |
bool RtspSnifferSession::getMediaSessionInformation | ( | const std::string | sUrl, | |
int | nTimeOut = -1 | |||
) |
This method returns the media type information necessary to construct the filter's output pins.
[in] | sUrl | The url of the media stream |
[out] | A | the vector that is going to receive the sniffed information |
[in] | The | RTSP client request timeout |
Definition at line 58 of file RtspSnifferSession.cpp.