mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-18 13:57:48 -04:00
Fix build without RTSP
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
**
|
||||
** -------------------------------------------------------------------------*/
|
||||
|
||||
#include "zm.h"
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
@@ -13,7 +16,6 @@
|
||||
#include <Base64.hh>
|
||||
|
||||
#include "zm_rtsp_server_adts_source.h"
|
||||
#if HAVE_RTSP_SERVER
|
||||
|
||||
static unsigned const samplingFrequencyTable[16] = {
|
||||
96000, 88200, 64000, 48000,
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
**
|
||||
** -------------------------------------------------------------------------*/
|
||||
|
||||
#include "zm.h"
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
|
||||
#ifndef ADTS_ZoneMinder_DEVICE_SOURCE
|
||||
#define ADTS_ZoneMinder_DEVICE_SOURCE
|
||||
@@ -65,3 +68,4 @@ class ADTS_ZoneMinderDeviceSource : public ZoneMinderDeviceSource {
|
||||
int channels;
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
**
|
||||
** -------------------------------------------------------------------------*/
|
||||
|
||||
#include "zm.h"
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
|
||||
#ifndef DEVICE_SOURCE
|
||||
#define DEVICE_SOURCE
|
||||
@@ -76,3 +79,4 @@ class ZoneMinderDeviceSource: public FramedSource {
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
#pragma once
|
||||
#include "zm_logger.h"
|
||||
#include "zm.h"
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <string.h>
|
||||
// ---------------------------------
|
||||
// Captured frame
|
||||
// ---------------------------------
|
||||
@@ -56,3 +60,4 @@ class NAL_Frame {
|
||||
private:
|
||||
int m_ref_count;
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
**
|
||||
** -------------------------------------------------------------------------*/
|
||||
|
||||
#include "zm.h"
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
@@ -13,7 +17,6 @@
|
||||
#include <Base64.hh>
|
||||
|
||||
#include "zm_rtsp_server_h264_device_source.h"
|
||||
#if HAVE_RTSP_SERVER
|
||||
|
||||
// ---------------------------------
|
||||
// H264 ZoneMinder FramedSource
|
||||
|
||||
@@ -4,14 +4,15 @@
|
||||
**
|
||||
** -------------------------------------------------------------------------*/
|
||||
|
||||
#include "zm.h"
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
#include <sstream>
|
||||
|
||||
#include "zm_rtsp_server_server_media_subsession.h"
|
||||
#include "zm_rtsp_server_device_source.h"
|
||||
#include "zm_rtsp_server_adts_source.h"
|
||||
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
// ---------------------------------
|
||||
// BaseServerMediaSubsession
|
||||
// ---------------------------------
|
||||
|
||||
@@ -9,6 +9,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "zm.h"
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <string>
|
||||
@@ -44,3 +48,4 @@ class BaseServerMediaSubsession {
|
||||
protected:
|
||||
StreamReplicator* m_replicator;
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
|
||||
#include "zm.h"
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
#include "zm_rtsp_server_thread.h"
|
||||
#include "zm_rtsp_server_device_source.h"
|
||||
#include "zm_rtsp_server_h264_device_source.h"
|
||||
@@ -6,8 +9,6 @@
|
||||
#include "zm_rtsp_server_unicast_server_media_subsession.h"
|
||||
#include <StreamReplicator.hh>
|
||||
|
||||
|
||||
#if HAVE_RTSP_SERVER
|
||||
RTSPServerThread::RTSPServerThread(Monitor *p_monitor) :
|
||||
monitor(p_monitor),
|
||||
terminate(0)
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
**
|
||||
** -------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "zm.h"
|
||||
#if HAVE_RTSP_SERVER
|
||||
#include "zm_rtsp_server_unicast_server_media_subsession.h"
|
||||
#include "zm_rtsp_server_device_source.h"
|
||||
#if HAVE_RTSP_SERVER
|
||||
|
||||
// -----------------------------------------
|
||||
// ServerMediaSubsession for Unicast
|
||||
|
||||
Reference in New Issue
Block a user