RtspSnifferSession Class Reference

#include <RtspSnifferSession.h>


Detailed Description

This class is used to detect media information given an rtsp URL.

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.

Member Function Documentation

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.

Parameters:
[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.


The documentation for this class was generated from the following files:
Generated on Fri Mar 13 14:12:39 2009 for RTVC by  doxygen 1.5.3