#ifndef _PL_RTSPSERVER_H_
|
#define _PL_RTSPSERVER_H_
|
|
#include "PipeLine.h"
|
|
struct RTSPServerConfig
|
{
|
bool syncDeliverFrame;
|
bool payWithAux;
|
bool sendWithAux;
|
|
RTSPServerConfig() :
|
syncDeliverFrame(true), payWithAux(true), sendWithAux(false)
|
{
|
}
|
};
|
|
class PL_RTSPServer : public PipeLineElem
|
{
|
public:
|
PL_RTSPServer();
|
virtual ~PL_RTSPServer();
|
|
virtual bool init(void* args);
|
virtual void finit();
|
|
virtual bool pay(const PipeMaterial& pm);
|
virtual bool gain(PipeMaterial& pm);
|
|
private:
|
void* internal;
|
};
|
|
PipeLineElem* create_PL_RTSPServer();
|
|
#endif
|