| | |
| | | #ifndef _PL_RTSPSERVER_H_
|
| | | #define _PL_RTSPSERVER_H_
|
| | | #ifndef _PL_RTSPSERVER2_H_
|
| | | #define _PL_RTSPSERVER2_H_
|
| | |
|
| | | #include "PipeLine.h"
|
| | |
|
| | | struct RTSPServerConfig
|
| | | struct RTSPServer2Config
|
| | | {
|
| | | bool syncDeliverFrame;
|
| | | bool payWithAux;
|
| | | bool sendWithAux;
|
| | | |
| | | RTSPServerConfig() : |
| | |
|
| | | RTSPServer2Config() :
|
| | | syncDeliverFrame(true), payWithAux(true), sendWithAux(false)
|
| | | {
|
| | | }
|
| | | };
|
| | |
|
| | | class PL_RTSPServer : public PipeLineElem
|
| | | class PL_RTSPServer2 : public PipeLineElem
|
| | | {
|
| | | public:
|
| | | PL_RTSPServer();
|
| | | virtual ~PL_RTSPServer();
|
| | | PL_RTSPServer2();
|
| | | virtual ~PL_RTSPServer2();
|
| | |
|
| | | virtual bool init(void* args);
|
| | | virtual void finit();
|
| | |
| | | void* internal;
|
| | | };
|
| | |
|
| | | PipeLineElem* create_PL_RTSPServer();
|
| | | PipeLineElem* create_PL_RTSPServer2();
|
| | |
|
| | | #endif
|