mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-23 01:12:20 +08:00
修改文件录制、hls生成、拉流代理逻辑
This commit is contained in:
@@ -38,8 +38,12 @@ namespace ZL {
|
||||
namespace Rtsp {
|
||||
|
||||
|
||||
RtspToRtmpMediaSource::RtspToRtmpMediaSource(const string &vhost,const string &app,const string &id,bool bEnableFile) :
|
||||
RtspMediaSource(vhost,app,id),m_bEnableFile(bEnableFile) {
|
||||
RtspToRtmpMediaSource::RtspToRtmpMediaSource(const string &vhost,
|
||||
const string &app,
|
||||
const string &id,
|
||||
bool bEnableHls,
|
||||
bool bEnableMp4) :
|
||||
RtspMediaSource(vhost,app,id),m_bEnableHls(bEnableHls),m_bEnableMp4(bEnableMp4) {
|
||||
}
|
||||
|
||||
RtspToRtmpMediaSource::~RtspToRtmpMediaSource() {
|
||||
|
||||
Reference in New Issue
Block a user