/****************************************************************************** * FILE: RtspClient.h * Description: * Interface for rtsp client class. * * Modified Code History * Mark Date By Modification Reason ******************************************************************************* * 01 2013/5/28 songxw Initial creation. ******************************************************************************/ #if !defined(__RTSP_CLIENT_H__) #define __RTSP_CLIENT_H__ using namespace std; #include "TypeDef.h" #include "RtspClientSession.h" /* Rtsp client interface class */ class CRtspClient { public: CRtspClient(void); ~CRtspClient(void); public: //////////////////////////////////////////////////////////////////////////////// // º¯ÊýÃû£ºOpenRtspStream // ÃèÊö£ºÉèÖûص÷º¯Êý¡£ // ²ÎÊý£ºrtspµØÖ·¡¢ ÂëÁ÷»Øµ÷º¯Êý¡¢Óû§Ö¸Õë // // // ·µ»ØÖµ£º // ¡£ // ˵Ã÷£º // ±£ÁôÔ­Ä£¿é½Ó¿Ú¡£ //////////////////////////////////////////////////////////////////////////////// long OpenRtspStream(const char *RtspUrl, PlayCallBack2 PlayCBFunc, long UserData); //////////////////////////////////////////////////////////////////////////////// // º¯ÊýÃû£ºRtspContrl // ÃèÊö£ºµã²¥¿ØÖÆÀàÐÍ ºÍµã²¥¿ØÖƲÎÊý // ²ÎÊý£º // // // ·µ»ØÖµ£º // ¡£ // ˵Ã÷£º // ±£ÁôÔ­Ä£¿é½Ó¿Ú¡£ //////////////////////////////////////////////////////////////////////////////// long RtspContrl(int ctrltype, double ctrlparam); //////////////////////////////////////////////////////////////////////////////// // º¯ÊýÃû£ºStopRtspStream // ÃèÊö£ºÍ£Ö¹RTSP»á»° // ²ÎÊý£º // // // ·µ»ØÖµ£º // ¡£ // ˵Ã÷£º // ±£ÁôÔ­Ä£¿é½Ó¿Ú¡£ //////////////////////////////////////////////////////////////////////////////// long StopRtspStream(); public: CRtspClientSession *m_pRCSession; }; #endif //#if !defined(__RTSP_CLIENT_H__)