初步支持rtsp推流

This commit is contained in:
xiongziliang
2018-12-14 18:13:05 +08:00
parent 84fde961d7
commit 9da5a35524
5 changed files with 47 additions and 28 deletions

View File

@@ -46,7 +46,7 @@ public:
const string &app,
const string &id,
bool bEnableHls = true,
bool bEnableMp4 = true) : RtspMediaSource(vhost, app, id) {
bool bEnableMp4 = false) : RtspMediaSource(vhost, app, id) {
_recorder = std::make_shared<MediaRecorder>(vhost, app, id, bEnableHls, bEnableMp4);
}