修复不能控制录制路径的问题:#279

This commit is contained in:
xiongziliang 2020-04-28 09:40:47 +08:00
parent aa9bd56c5a
commit 0eb97d5471

View File

@ -56,7 +56,7 @@ string Recorder::getRecordPath(Recorder::type type, const string &vhost, const s
}
std::shared_ptr<MediaSinkInterface> Recorder::createRecorder(type type, const string &vhost, const string &app, const string &stream_id, const string &customized_path){
auto path = Recorder::getRecordPath(type, vhost, app, stream_id);
auto path = Recorder::getRecordPath(type, vhost, app, stream_id, customized_path);
switch (type) {
case Recorder::type_hls: {
#if defined(ENABLE_HLS)