RtspSourceFilter Class Reference

#include <RtspSourceFilter.h>

Inheritance diagram for RtspSourceFilter:

CSettingsInterface CStatusInterface ISettingsInterface IStatusInterface

Detailed Description

RTSP Source filter that receives PCM audio data from an RTSP server using the LGPL liveMedia streaming library.

The liveMedia library can be obtained at http://www.live555.com

Definition at line 75 of file RtspSourceFilter.h.


Public Member Functions

STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
 override this to publicize our interfaces
virtual void initParameters ()
 From CSettingsInterface.
STDMETHODIMP Load (LPCOLESTR lpwszFileName, const AM_MEDIA_TYPE *pmt)
 From IFileSourceFilter.
STDMETHODIMP GetCurFile (LPOLESTR *ppszFileName, AM_MEDIA_TYPE *pmt)
 From IFileSourceFilter.
virtual ULONG
STDMETHODCALLTYPE 
GetMiscFlags ()
 From IAMFilterMiscFlags.
virtual int GetPinCount ()
 CBase Filter methods - Overridden since we don't just have one input and output pin as the standard transform filter does.
virtual CBasePin * GetPin (int n)
 Override this method: the pins get created in this method of the transform filter.
virtual STDMETHODIMP FindPin (LPCWSTR Id, IPin **ppPin)
 Method needed to connect pins based on their names.
STDMETHODIMP Stop ()
 From CSource.
STDMETHODIMP Pause ()
 From CSource.
STDMETHODIMP GetState (DWORD dwMilliSecsTimeout, FILTER_STATE *State)
 From CBaseFilter TO PREVENT THE VIDEO RENDERER FROM BLOCKING: READ http://msdn2.microsoft.com/en-us/library/ms783675(VS.85).aspx.
void StartRtspServerThreadIfNotStarted ()
 This method starts an RTSP session in a new thread provided one hasn't been started already. In that case this method does nothing.
void StartRtspSession ()
 Starts an RTSP session. This is just a helper method which is called from the thread spawned by StartRtspServerThreadIfNotStarted.
void createOutputPin (MediaSubsession *pSubsession, HRESULT *phr)
 Creates an output pin based on the passed in MediaSubsession and adds it to the vector of output pins.
STDMETHODIMP GetPages (CAUUID *pPages)

Static Public Member Functions

static CUnknown *WINAPI CreateInstance (IUnknown *pUnk, HRESULT *phr)
 DLL factory method.

Friends

class RtspSourceOutputPin
 Give the pin friend access.

Member Function Documentation

void RtspSourceFilter::createOutputPin ( MediaSubsession *  pSubsession,
HRESULT *  phr 
)

Creates an output pin based on the passed in MediaSubsession and adds it to the vector of output pins.

Parameters:
[in] pSubsession a liveMedia MediaSubsession that has been obtained using RTSP and contains information such as media type, subtype- etc.
[out] pHr Set this value to S_OK before passing pHr into this method. If the method fails, the error code will be returned in this out parameter.
Remarks:
Currently creates pins for 8/16 bit PCM audio and the RTVC H263 video media formats

Definition at line 193 of file RtspSourceFilter.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