|
|
|
@ -11,6 +11,8 @@
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
|
|
|
|
|
|
// live555
|
|
|
|
|
#include <BasicUsageEnvironment.hh>
|
|
|
|
|
#include <GroupsockHelper.hh>
|
|
|
|
@ -19,6 +21,12 @@
|
|
|
|
|
#include <alsa/asoundlib.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "ServerMediaSubsession.h"
|
|
|
|
|
#include "UnicastServerMediaSubsession.h"
|
|
|
|
|
#include "MulticastServerMediaSubsession.h"
|
|
|
|
|
#include "TSServerMediaSubsession.h"
|
|
|
|
|
#include "HTTPServer.h"
|
|
|
|
|
|
|
|
|
|
class V4l2RTSPServer {
|
|
|
|
|
public:
|
|
|
|
|
V4l2RTSPServer(unsigned short rtspPort, unsigned short rtspOverHTTPPort = 0, int timeout = 10, unsigned int hlsSegment = 0, const std::list<std::string> & userPasswordList = std::list<std::string>(), const char* realm = NULL, const std::string & webroot = "") {
|
|
|
|
|