mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-07 04:33:57 +08:00
修复不能控制录制路径的问题:#279
This commit is contained in:
parent
aa9bd56c5a
commit
0eb97d5471
|
@ -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){
|
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) {
|
switch (type) {
|
||||||
case Recorder::type_hls: {
|
case Recorder::type_hls: {
|
||||||
#if defined(ENABLE_HLS)
|
#if defined(ENABLE_HLS)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user