2014-04-15 06:01:57 +00:00
|
|
|
/*
|
|
|
|
The MIT License (MIT)
|
|
|
|
|
2016-12-16 03:57:25 +00:00
|
|
|
Copyright (c) 2013-2017 SRS(ossrs)
|
2014-04-15 06:01:57 +00:00
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
|
this software and associated documentation files (the "Software"), to deal in
|
|
|
|
the Software without restriction, including without limitation the rights to
|
|
|
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
|
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
|
|
subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
|
|
copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
|
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
|
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
|
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
2014-04-16 01:28:02 +00:00
|
|
|
#ifndef SRS_APP_DVR_HPP
|
|
|
|
#define SRS_APP_DVR_HPP
|
2014-04-15 06:01:57 +00:00
|
|
|
|
|
|
|
/*
|
2014-04-16 01:28:02 +00:00
|
|
|
#include <srs_app_dvr.hpp>
|
2014-04-15 06:01:57 +00:00
|
|
|
*/
|
|
|
|
#include <srs_core.hpp>
|
|
|
|
|
2014-06-08 05:03:03 +00:00
|
|
|
#include <string>
|
2015-02-21 13:17:59 +00:00
|
|
|
#include <sstream>
|
2014-06-08 05:03:03 +00:00
|
|
|
|
2014-04-15 06:01:57 +00:00
|
|
|
#ifdef SRS_AUTO_DVR
|
|
|
|
|
2014-04-15 06:24:03 +00:00
|
|
|
class SrsSource;
|
2017-01-19 04:38:55 +00:00
|
|
|
class SrsOriginHub;
|
2014-04-15 06:24:03 +00:00
|
|
|
class SrsRequest;
|
2015-09-22 00:57:31 +00:00
|
|
|
class SrsBuffer;
|
2014-04-17 10:13:59 +00:00
|
|
|
class SrsRtmpJitter;
|
2014-04-17 08:06:49 +00:00
|
|
|
class SrsOnMetaDataPacket;
|
2014-04-29 06:44:07 +00:00
|
|
|
class SrsSharedPtrMessage;
|
2014-06-29 09:05:26 +00:00
|
|
|
class SrsFileWriter;
|
2014-05-23 05:56:40 +00:00
|
|
|
class SrsFlvEncoder;
|
2015-02-21 08:25:04 +00:00
|
|
|
class SrsDvrPlan;
|
2015-02-21 15:09:21 +00:00
|
|
|
class SrsJsonAny;
|
2015-02-24 09:29:30 +00:00
|
|
|
class SrsJsonObject;
|
2015-02-23 11:23:32 +00:00
|
|
|
class SrsThread;
|
2017-02-06 10:33:26 +00:00
|
|
|
class SrsMp4Encoder;
|
2014-04-17 04:59:35 +00:00
|
|
|
|
2014-06-25 09:14:11 +00:00
|
|
|
#include <srs_app_source.hpp>
|
|
|
|
#include <srs_app_reload.hpp>
|
2015-03-31 09:42:12 +00:00
|
|
|
#include <srs_app_async_call.hpp>
|
2014-06-25 09:14:11 +00:00
|
|
|
|
2014-04-23 08:33:42 +00:00
|
|
|
/**
|
2017-02-06 10:33:26 +00:00
|
|
|
* The segmenter for DVR, to write a segment file in flv/mp4.
|
|
|
|
*/
|
|
|
|
class SrsDvrSegmenter : public ISrsReloadHandler
|
2014-04-23 08:33:42 +00:00
|
|
|
{
|
2017-02-06 10:33:26 +00:00
|
|
|
protected:
|
2017-02-06 12:22:07 +00:00
|
|
|
// The underlayer file object.
|
2015-02-21 08:25:04 +00:00
|
|
|
SrsFileWriter* fs;
|
2017-02-06 10:33:26 +00:00
|
|
|
// The duration in ms of current segment.
|
2014-04-24 04:22:36 +00:00
|
|
|
int64_t duration;
|
2017-02-06 12:22:07 +00:00
|
|
|
// Whether wait keyframe to reap segment.
|
|
|
|
bool wait_keyframe;
|
|
|
|
private:
|
|
|
|
// The path of current segment flv file path.
|
|
|
|
std::string path;
|
2017-02-06 10:33:26 +00:00
|
|
|
SrsRequest* req;
|
|
|
|
SrsDvrPlan* plan;
|
|
|
|
std::string tmp_dvr_file;
|
2017-02-06 12:22:07 +00:00
|
|
|
SrsRtmpJitter* jitter;
|
|
|
|
SrsRtmpJitterAlgorithm jitter_algorithm;
|
2014-04-23 08:33:42 +00:00
|
|
|
public:
|
2017-02-06 10:33:26 +00:00
|
|
|
SrsDvrSegmenter();
|
|
|
|
virtual ~SrsDvrSegmenter();
|
2014-06-28 16:09:55 +00:00
|
|
|
public:
|
2017-02-06 12:22:07 +00:00
|
|
|
// Initialize the segment.
|
2017-02-06 10:33:26 +00:00
|
|
|
virtual int initialize(SrsDvrPlan* p, SrsRequest* r);
|
2017-02-06 12:22:07 +00:00
|
|
|
// Get the current dvr path.
|
2017-02-06 10:33:26 +00:00
|
|
|
virtual std::string get_path();
|
2017-02-06 12:22:07 +00:00
|
|
|
// Whether segment is overflow.
|
2015-02-21 08:25:04 +00:00
|
|
|
virtual bool is_overflow(int64_t max_duration);
|
2017-02-06 12:22:07 +00:00
|
|
|
// Open new segment file.
|
|
|
|
// @param use_tmp_file Whether use tmp file for DVR, and rename when close.
|
|
|
|
// @remark Ignore when file is already open.
|
|
|
|
virtual int open();
|
2017-02-06 10:33:26 +00:00
|
|
|
// Write the metadata.
|
2017-02-06 12:22:07 +00:00
|
|
|
virtual int write_metadata(SrsSharedPtrMessage* metadata);
|
2017-02-06 10:33:26 +00:00
|
|
|
// Write audio packet.
|
|
|
|
// @param shared_audio, directly ptr, copy it if need to save it.
|
2017-02-06 12:22:07 +00:00
|
|
|
virtual int write_audio(SrsSharedPtrMessage* shared_audio);
|
2017-02-06 10:33:26 +00:00
|
|
|
// Write video packet.
|
|
|
|
// @param shared_video, directly ptr, copy it if need to save it.
|
2017-02-06 12:22:07 +00:00
|
|
|
virtual int write_video(SrsSharedPtrMessage* shared_video);
|
2017-02-06 10:33:26 +00:00
|
|
|
// Refresh the metadata. For example, there is duration in flv metadata,
|
|
|
|
// when DVR in append mode, the duration must be update every some seconds.
|
|
|
|
// @remark Maybe ignored by concreate segmenter.
|
|
|
|
virtual int refresh_metadata() = 0;
|
2017-02-06 12:22:07 +00:00
|
|
|
// Close current segment.
|
|
|
|
// @remark ignore when already closed.
|
|
|
|
virtual int close();
|
2017-02-06 10:33:26 +00:00
|
|
|
protected:
|
2017-02-06 12:22:07 +00:00
|
|
|
virtual int open_encoder() = 0;
|
|
|
|
virtual int encode_metadata(SrsSharedPtrMessage* metadata) = 0;
|
|
|
|
virtual int encode_audio(SrsSharedPtrMessage* audio, int64_t dts) = 0;
|
|
|
|
virtual int encode_video(SrsSharedPtrMessage* video, int64_t dts, bool sh, bool keyframe) = 0;
|
2017-02-06 10:33:26 +00:00
|
|
|
virtual int close_encoder() = 0;
|
2015-02-21 08:25:04 +00:00
|
|
|
private:
|
|
|
|
/**
|
|
|
|
* generate the flv segment path.
|
|
|
|
*/
|
|
|
|
virtual std::string generate_path();
|
|
|
|
/**
|
|
|
|
* create flv jitter. load jitter when flv exists.
|
2017-02-06 10:33:26 +00:00
|
|
|
* @param target_exists whether loads the jitter from exists flv file.
|
2015-02-21 08:25:04 +00:00
|
|
|
*/
|
2017-02-06 12:22:07 +00:00
|
|
|
virtual int create_jitter();
|
2015-02-21 08:25:04 +00:00
|
|
|
// interface ISrsReloadHandler
|
|
|
|
public:
|
|
|
|
virtual int on_reload_vhost_dvr(std::string vhost);
|
2014-04-23 08:33:42 +00:00
|
|
|
};
|
|
|
|
|
2017-02-06 10:33:26 +00:00
|
|
|
/**
|
|
|
|
* The FLV segmenter to use FLV encoder to write file.
|
|
|
|
*/
|
|
|
|
class SrsDvrFlvSegmenter : public SrsDvrSegmenter
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
// The FLV encoder, for FLV target.
|
|
|
|
SrsFlvEncoder* enc;
|
|
|
|
private:
|
|
|
|
// The offset of file for duration value.
|
|
|
|
// The next 8 bytes is the double value.
|
|
|
|
int64_t duration_offset;
|
|
|
|
// The offset of file for filesize value.
|
|
|
|
// The next 8 bytes is the double value.
|
|
|
|
int64_t filesize_offset;
|
|
|
|
// Whether current segment has keyframe.
|
|
|
|
bool has_keyframe;
|
|
|
|
private:
|
|
|
|
// The current segment starttime in ms, RTMP pkt time.
|
|
|
|
int64_t starttime;
|
|
|
|
// The stream start time in ms, to generate atc pts. abs time.
|
|
|
|
int64_t stream_starttime;
|
|
|
|
// The stream duration in ms, to generate atc segment.
|
|
|
|
int64_t stream_duration;
|
|
|
|
/**
|
|
|
|
* The previous stream RTMP pkt time in ms, used to calc the duration.
|
|
|
|
* for the RTMP timestamp will overflow.
|
|
|
|
*/
|
|
|
|
// TODO: FIXME: Use utility object to calc it.
|
|
|
|
int64_t stream_previous_pkt_time;
|
|
|
|
public:
|
|
|
|
SrsDvrFlvSegmenter();
|
|
|
|
virtual ~SrsDvrFlvSegmenter();
|
2017-02-06 12:22:07 +00:00
|
|
|
public:
|
|
|
|
virtual int refresh_metadata();
|
2017-02-06 10:33:26 +00:00
|
|
|
protected:
|
|
|
|
virtual int open_encoder();
|
2017-02-06 12:22:07 +00:00
|
|
|
virtual int encode_metadata(SrsSharedPtrMessage* metadata);
|
|
|
|
virtual int encode_audio(SrsSharedPtrMessage* audio, int64_t dts);
|
|
|
|
virtual int encode_video(SrsSharedPtrMessage* video, int64_t dts, bool sh, bool keyframe);
|
2017-02-06 10:33:26 +00:00
|
|
|
virtual int close_encoder();
|
|
|
|
private:
|
|
|
|
// When update the duration of segment by rtmp msg.
|
|
|
|
virtual int on_update_duration(SrsSharedPtrMessage* msg);
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The MP4 segmenter to use MP4 encoder to write file.
|
|
|
|
*/
|
|
|
|
class SrsDvrMp4Segmenter : public SrsDvrSegmenter
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
// The MP4 encoder, for MP4 target.
|
|
|
|
SrsMp4Encoder* enc;
|
|
|
|
public:
|
|
|
|
SrsDvrMp4Segmenter();
|
|
|
|
virtual ~SrsDvrMp4Segmenter();
|
2017-02-06 12:22:07 +00:00
|
|
|
public:
|
|
|
|
virtual int refresh_metadata();
|
2017-02-06 10:33:26 +00:00
|
|
|
protected:
|
|
|
|
virtual int open_encoder();
|
2017-02-06 12:22:07 +00:00
|
|
|
virtual int encode_metadata(SrsSharedPtrMessage* metadata);
|
|
|
|
virtual int encode_audio(SrsSharedPtrMessage* audio, int64_t dts);
|
|
|
|
virtual int encode_video(SrsSharedPtrMessage* video, int64_t dts, bool sh, bool keyframe);
|
2017-02-06 10:33:26 +00:00
|
|
|
virtual int close_encoder();
|
|
|
|
};
|
|
|
|
|
2015-02-23 11:23:32 +00:00
|
|
|
/**
|
|
|
|
* the dvr async call.
|
|
|
|
*/
|
2015-05-22 23:57:45 +00:00
|
|
|
class SrsDvrAsyncCallOnDvr : public ISrsAsyncCallTask
|
2015-02-23 11:23:32 +00:00
|
|
|
{
|
|
|
|
private:
|
2015-09-14 05:47:25 +00:00
|
|
|
int cid;
|
2015-02-23 11:23:32 +00:00
|
|
|
std::string path;
|
|
|
|
SrsRequest* req;
|
|
|
|
public:
|
2015-09-14 05:47:25 +00:00
|
|
|
SrsDvrAsyncCallOnDvr(int c, SrsRequest* r, std::string p);
|
2015-02-23 11:23:32 +00:00
|
|
|
virtual ~SrsDvrAsyncCallOnDvr();
|
|
|
|
public:
|
|
|
|
virtual int call();
|
|
|
|
virtual std::string to_string();
|
|
|
|
};
|
|
|
|
|
2014-04-17 08:57:04 +00:00
|
|
|
/**
|
|
|
|
* the plan for dvr.
|
|
|
|
* use to control the following dvr params:
|
|
|
|
* 1. filename: the filename for record file.
|
|
|
|
* 2. reap flv: when to reap the flv and start new piece.
|
|
|
|
*/
|
2014-04-23 09:53:14 +00:00
|
|
|
// TODO: FIXME: the plan is too fat, refine me.
|
2015-02-21 08:25:04 +00:00
|
|
|
class SrsDvrPlan
|
2014-04-17 08:57:04 +00:00
|
|
|
{
|
2015-02-21 15:09:21 +00:00
|
|
|
public:
|
|
|
|
SrsRequest* req;
|
2014-06-25 09:14:11 +00:00
|
|
|
protected:
|
2017-02-06 10:33:26 +00:00
|
|
|
SrsDvrSegmenter* segment;
|
2015-05-22 23:57:45 +00:00
|
|
|
SrsAsyncCallWorker* async;
|
2014-06-25 09:14:11 +00:00
|
|
|
bool dvr_enabled;
|
2014-04-17 08:57:04 +00:00
|
|
|
public:
|
|
|
|
SrsDvrPlan();
|
|
|
|
virtual ~SrsDvrPlan();
|
|
|
|
public:
|
2017-02-06 10:33:26 +00:00
|
|
|
virtual int initialize(SrsDvrSegmenter* s, SrsRequest* r);
|
2015-02-21 08:25:04 +00:00
|
|
|
virtual int on_publish() = 0;
|
2014-04-17 08:57:04 +00:00
|
|
|
virtual void on_unpublish() = 0;
|
2015-02-21 08:25:04 +00:00
|
|
|
/**
|
|
|
|
* when got metadata.
|
|
|
|
*/
|
2015-03-21 03:55:28 +00:00
|
|
|
virtual int on_meta_data(SrsSharedPtrMessage* shared_metadata);
|
2014-12-05 15:49:53 +00:00
|
|
|
/**
|
2015-03-21 03:55:28 +00:00
|
|
|
* @param shared_audio, directly ptr, copy it if need to save it.
|
2014-12-05 15:49:53 +00:00
|
|
|
*/
|
2015-03-21 03:55:28 +00:00
|
|
|
virtual int on_audio(SrsSharedPtrMessage* shared_audio);
|
2014-12-05 15:49:53 +00:00
|
|
|
/**
|
2015-03-21 03:55:28 +00:00
|
|
|
* @param shared_video, directly ptr, copy it if need to save it.
|
2014-12-05 15:49:53 +00:00
|
|
|
*/
|
2015-03-21 03:55:28 +00:00
|
|
|
virtual int on_video(SrsSharedPtrMessage* shared_video);
|
2017-02-06 10:33:26 +00:00
|
|
|
// Internal interface for segmenter.
|
|
|
|
public:
|
|
|
|
// When segmenter close a segment.
|
2015-02-21 15:09:21 +00:00
|
|
|
virtual int on_reap_segment();
|
2017-02-06 10:33:26 +00:00
|
|
|
// When segmenter got a keyframe.
|
2014-04-24 08:32:19 +00:00
|
|
|
virtual int on_video_keyframe();
|
2017-02-06 10:33:26 +00:00
|
|
|
// The plan may need to process the timestamp.
|
2014-04-24 08:32:19 +00:00
|
|
|
virtual int64_t filter_timestamp(int64_t timestamp);
|
2014-04-17 08:57:04 +00:00
|
|
|
public:
|
2017-02-06 10:33:26 +00:00
|
|
|
static int create_plan(std::string vhost, SrsDvrPlan** pplan);
|
2014-04-17 08:57:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
2014-04-17 09:35:21 +00:00
|
|
|
* session plan: reap flv when session complete(unpublish)
|
2014-04-17 08:57:04 +00:00
|
|
|
*/
|
|
|
|
class SrsDvrSessionPlan : public SrsDvrPlan
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
SrsDvrSessionPlan();
|
|
|
|
virtual ~SrsDvrSessionPlan();
|
|
|
|
public:
|
2015-02-21 08:25:04 +00:00
|
|
|
virtual int on_publish();
|
2014-04-17 08:57:04 +00:00
|
|
|
virtual void on_unpublish();
|
2015-02-21 08:52:37 +00:00
|
|
|
};
|
|
|
|
|
2014-04-17 09:35:21 +00:00
|
|
|
/**
|
|
|
|
* segment plan: reap flv when duration exceed.
|
|
|
|
*/
|
|
|
|
class SrsDvrSegmentPlan : public SrsDvrPlan
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
// in config, in ms
|
|
|
|
int segment_duration;
|
2014-08-03 12:27:57 +00:00
|
|
|
SrsSharedPtrMessage* sh_audio;
|
|
|
|
SrsSharedPtrMessage* sh_video;
|
2015-02-21 11:14:05 +00:00
|
|
|
SrsSharedPtrMessage* metadata;
|
2014-04-17 09:35:21 +00:00
|
|
|
public:
|
|
|
|
SrsDvrSegmentPlan();
|
|
|
|
virtual ~SrsDvrSegmentPlan();
|
|
|
|
public:
|
2017-02-06 10:33:26 +00:00
|
|
|
virtual int initialize(SrsDvrSegmenter* s, SrsRequest* req);
|
2014-04-17 10:13:59 +00:00
|
|
|
virtual int on_publish();
|
2014-04-17 09:35:21 +00:00
|
|
|
virtual void on_unpublish();
|
2015-03-21 03:55:28 +00:00
|
|
|
virtual int on_meta_data(SrsSharedPtrMessage* shared_metadata);
|
|
|
|
virtual int on_audio(SrsSharedPtrMessage* shared_audio);
|
|
|
|
virtual int on_video(SrsSharedPtrMessage* shared_video);
|
2014-04-17 09:35:21 +00:00
|
|
|
private:
|
2014-04-29 06:44:07 +00:00
|
|
|
virtual int update_duration(SrsSharedPtrMessage* msg);
|
2014-04-17 09:35:21 +00:00
|
|
|
};
|
|
|
|
|
2014-04-15 06:24:03 +00:00
|
|
|
/**
|
2017-02-06 10:33:26 +00:00
|
|
|
* DVR(Digital Video Recorder) to record RTMP stream to flv/mp4 file.
|
|
|
|
* TODO: FIXME: add utest for it.
|
|
|
|
*/
|
2015-09-15 07:58:57 +00:00
|
|
|
class SrsDvr : public ISrsReloadHandler
|
2014-04-15 06:24:03 +00:00
|
|
|
{
|
|
|
|
private:
|
2017-01-19 04:38:55 +00:00
|
|
|
SrsOriginHub* hub;
|
2014-04-17 08:57:04 +00:00
|
|
|
SrsDvrPlan* plan;
|
2015-09-15 07:58:57 +00:00
|
|
|
SrsRequest* req;
|
|
|
|
private:
|
|
|
|
// whether the dvr is actived by filter, which is specified by dvr_apply.
|
|
|
|
// we always initialize the dvr, which crote plan and segment object,
|
|
|
|
// but they never create actual piece of file util the apply active it.
|
|
|
|
bool actived;
|
2014-04-15 06:24:03 +00:00
|
|
|
public:
|
2015-02-27 12:39:36 +00:00
|
|
|
SrsDvr();
|
2014-04-15 06:24:03 +00:00
|
|
|
virtual ~SrsDvr();
|
|
|
|
public:
|
2014-04-17 08:57:04 +00:00
|
|
|
/**
|
2015-09-15 07:58:57 +00:00
|
|
|
* initialize dvr, create dvr plan.
|
|
|
|
* when system initialize(encoder publish at first time, or reload),
|
|
|
|
* initialize the dvr will reinitialize the plan, the whole dvr framework.
|
|
|
|
*/
|
2017-01-19 04:38:55 +00:00
|
|
|
virtual int initialize(SrsOriginHub* h, SrsRequest* r);
|
2014-04-15 06:24:03 +00:00
|
|
|
/**
|
2015-09-15 07:58:57 +00:00
|
|
|
* publish stream event,
|
|
|
|
* when encoder start to publish RTMP stream.
|
|
|
|
* @param fetch_sequence_header whether fetch sequence from source.
|
|
|
|
*/
|
|
|
|
virtual int on_publish(bool fetch_sequence_header);
|
2014-04-15 06:24:03 +00:00
|
|
|
/**
|
2014-04-16 09:54:41 +00:00
|
|
|
* the unpublish event.,
|
|
|
|
* when encoder stop(unpublish) to publish RTMP stream.
|
2014-04-15 06:24:03 +00:00
|
|
|
*/
|
|
|
|
virtual void on_unpublish();
|
|
|
|
/**
|
|
|
|
* get some information from metadata, it's optinal.
|
|
|
|
*/
|
2015-02-21 08:25:04 +00:00
|
|
|
virtual int on_meta_data(SrsOnMetaDataPacket* m);
|
2014-04-15 06:24:03 +00:00
|
|
|
/**
|
2014-04-16 09:54:41 +00:00
|
|
|
* mux the audio packets to dvr.
|
2015-03-21 03:55:28 +00:00
|
|
|
* @param shared_audio, directly ptr, copy it if need to save it.
|
2014-04-15 06:24:03 +00:00
|
|
|
*/
|
2015-03-21 03:55:28 +00:00
|
|
|
virtual int on_audio(SrsSharedPtrMessage* shared_audio);
|
2014-04-15 06:24:03 +00:00
|
|
|
/**
|
2014-04-16 09:54:41 +00:00
|
|
|
* mux the video packets to dvr.
|
2015-03-21 03:55:28 +00:00
|
|
|
* @param shared_video, directly ptr, copy it if need to save it.
|
2014-04-15 06:24:03 +00:00
|
|
|
*/
|
2015-03-21 03:55:28 +00:00
|
|
|
virtual int on_video(SrsSharedPtrMessage* shared_video);
|
2015-09-15 07:58:57 +00:00
|
|
|
// interface ISrsReloadHandler
|
|
|
|
public:
|
|
|
|
virtual int on_reload_vhost_dvr_apply(std::string vhost);
|
2014-04-15 06:24:03 +00:00
|
|
|
};
|
|
|
|
|
2014-04-15 06:01:57 +00:00
|
|
|
#endif
|
|
|
|
|
2014-06-08 05:03:03 +00:00
|
|
|
#endif
|
2014-08-02 14:18:39 +00:00
|
|
|
|