正在显示
3 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -19,8 +19,8 @@ pid ./objs/srs.pid; | @@ -19,8 +19,8 @@ pid ./objs/srs.pid; | ||
| 19 | chunk_size 60000; | 19 | chunk_size 60000; |
| 20 | # the logs dir. | 20 | # the logs dir. |
| 21 | # if enabled ffmpeg, each stracoding stream will create a log file. | 21 | # if enabled ffmpeg, each stracoding stream will create a log file. |
| 22 | -# default: ./objs/logs | ||
| 23 | -ff_log_dir ./objs/logs; | 22 | +# default: ./objs |
| 23 | +ff_log_dir ./objs; | ||
| 24 | # the log tank, console or file. | 24 | # the log tank, console or file. |
| 25 | # if console, print log to console. | 25 | # if console, print log to console. |
| 26 | # if file, write log to file. requires srs_log_file if log to file. | 26 | # if file, write log to file. requires srs_log_file if log to file. |
| @@ -336,7 +336,7 @@ class RESTServers(object): | @@ -336,7 +336,7 @@ class RESTServers(object): | ||
| 336 | ''' | 336 | ''' |
| 337 | def GET(self, id=None): | 337 | def GET(self, id=None): |
| 338 | enable_crossdomain() | 338 | enable_crossdomain() |
| 339 | - if id == "meeting" | 339 | + if id == "meeting": |
| 340 | url = "http://%s:8085/players/srs_chat.html?port=1935"%(self.__server_ip) | 340 | url = "http://%s:8085/players/srs_chat.html?port=1935"%(self.__server_ip) |
| 341 | else: | 341 | else: |
| 342 | url = "http://%s:8080/live/livestream.html"%(self.__server_ip) | 342 | url = "http://%s:8080/live/livestream.html"%(self.__server_ip) |
| @@ -1933,7 +1933,7 @@ string SrsConfig::get_ffmpeg_log_dir() | @@ -1933,7 +1933,7 @@ string SrsConfig::get_ffmpeg_log_dir() | ||
| 1933 | 1933 | ||
| 1934 | SrsConfDirective* conf = root->get("ff_log_dir"); | 1934 | SrsConfDirective* conf = root->get("ff_log_dir"); |
| 1935 | if (!conf || conf->arg0().empty()) { | 1935 | if (!conf || conf->arg0().empty()) { |
| 1936 | - return "./objs/logs"; | 1936 | + return "./objs"; |
| 1937 | } | 1937 | } |
| 1938 | 1938 | ||
| 1939 | return conf->arg0(); | 1939 | return conf->arg0(); |
-
请 注册 或 登录 后发表评论