//
|
// LiveRTSPServer.h
|
// FFmpegRTSPServer
|
//
|
// Created by Mina Saad on 9/22/15.
|
// Copyright (c) 2015 Mina Saad. All rights reserved.
|
//
|
|
#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 "LiveServerMediaSubsession.h"
|
#include "FFmpegH264Source.h"
|
#include "IEncoder.h"
|
|
namespace MESAI {
|
|
class LiveRTSPServer
|
{
|
public:
|
|
LiveRTSPServer(IEncoder * a_Encoder, int port, int httpPort );
|
~LiveRTSPServer();
|
void run();
|
|
private:
|
int portNumber;
|
int httpTunnelingPort;
|
IEncoder * m_Encoder;
|
char quit;
|
|
};
|
}
|
|
#endif
|