mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
change ffmpeg log to ./objs
This commit is contained in:
parent
ca02cfe1bf
commit
3a26b23fba
3 changed files with 4 additions and 4 deletions
|
@ -19,8 +19,8 @@ pid ./objs/srs.pid;
|
|||
chunk_size 60000;
|
||||
# the logs dir.
|
||||
# if enabled ffmpeg, each stracoding stream will create a log file.
|
||||
# default: ./objs/logs
|
||||
ff_log_dir ./objs/logs;
|
||||
# default: ./objs
|
||||
ff_log_dir ./objs;
|
||||
# the log tank, console or file.
|
||||
# if console, print log to console.
|
||||
# if file, write log to file. requires srs_log_file if log to file.
|
||||
|
|
|
@ -336,7 +336,7 @@ class RESTServers(object):
|
|||
'''
|
||||
def GET(self, id=None):
|
||||
enable_crossdomain()
|
||||
if id == "meeting"
|
||||
if id == "meeting":
|
||||
url = "http://%s:8085/players/srs_chat.html?port=1935"%(self.__server_ip)
|
||||
else:
|
||||
url = "http://%s:8080/live/livestream.html"%(self.__server_ip)
|
||||
|
|
|
@ -1933,7 +1933,7 @@ string SrsConfig::get_ffmpeg_log_dir()
|
|||
|
||||
SrsConfDirective* conf = root->get("ff_log_dir");
|
||||
if (!conf || conf->arg0().empty()) {
|
||||
return "./objs/logs";
|
||||
return "./objs";
|
||||
}
|
||||
|
||||
return conf->arg0();
|
||||
|
|
Loading…
Reference in a new issue