生产环境无法注入的问题
This commit is contained in:
parent
5a569084b8
commit
95263673f9
|
|
@ -30,8 +30,8 @@ public class TaskService implements ITaskService{
|
|||
@Value("${srs.targetPath}")
|
||||
private String targetPath;
|
||||
|
||||
@Value("${ffmpeg}")
|
||||
private String ffmpeg;
|
||||
// @Value("${ffmpeg}")
|
||||
private String ffmpeg ="ffmpeg";
|
||||
|
||||
ScheduledExecutorService executor = Executors.newScheduledThreadPool(4);
|
||||
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ public class ProcessService {
|
|||
@Value("${srs.splitPath}")
|
||||
private String splitPath;
|
||||
|
||||
@Value("${ffmpeg}")
|
||||
private String ffmpeg;
|
||||
// @Value("${ffmpeg}")
|
||||
private String ffmpeg = "ffmpeg";
|
||||
|
||||
@Value("${srs.targetPath}")
|
||||
private String targetPath;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ spring.application.name=demo
|
|||
server.port = 8989
|
||||
srs.splitPath=/data/java/srs/stream_server/temp
|
||||
srs.targetPath=/data/java/srs/srs/trunk/objs/nginx/html
|
||||
ffmpeg=/data/ffmpeg/bin/ffmpeg
|
||||
ffmpeg=ffmpeg
|
||||
recordPath=/data/java/srs/srs/trunk/objs/nginx/html/record
|
||||
livedates=8
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue