| | |
| | | #ifndef MESAI_LIVE_RTSP_SERVER_HH
|
| | | #define MESAI_LIVE_RTSP_SERVER_HH
|
| | |
|
| | | #include <UsageEnvironment.hh>
|
| | | #include <BasicUsageEnvironment.hh>
|
| | | #include <GroupsockHelper.hh>
|
| | | #include <liveMedia.hh>
|
| | | #include <UsageEnvironment/UsageEnvironment.hh>
|
| | | #include <BasicUsageEnvironment/BasicUsageEnvironment.hh>
|
| | | #include <groupsock/GroupsockHelper.hh>
|
| | | #include <liveMedia/liveMedia.hh>
|
| | | #include "LiveServerMediaSubsession.h"
|
| | | #include "FFmpegH264Source.h"
|
| | | #include "IEncoder.h"
|
| | |
| | | class LiveRTSPServer
|
| | | {
|
| | | public:
|
| | |
|
| | | LiveRTSPServer(IEncoder * a_Encoder, int port, int httpPort );
|
| | | ~LiveRTSPServer();
|
| | |
|
| | | void init();
|
| | | void run();
|
| | |
|
| | | public:
|
| | | UsageEnvironment* env;
|
| | | FramedSource* framedSource;
|
| | |
|
| | | private:
|
| | | int portNumber;
|
| | | int httpTunnelingPort;
|
| | | IEncoder * m_Encoder;
|
| | | char quit;
|
| | |
|
| | | };
|
| | | }
|
| | |
|