#include <RtspSourceFilter.h>
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. |
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.
[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. |
Definition at line 193 of file RtspSourceFilter.cpp.