| @@ -204,6 +204,7 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: http://nas.pucao.cn:50014 | oral_broadcasting: http://nas.pucao.cn:50014 | ||||
| video_path: http://nas.pucao.cn:50014 | |||||
| video_tts: http://111.198.0.15:22299 | video_tts: http://111.198.0.15:22299 | ||||
| huibo_tts_wav: http://111.198.0.15:22222 | huibo_tts_wav: http://111.198.0.15:22222 | ||||
| photo_speak: http://nas.pucao.cn:50015 | photo_speak: http://nas.pucao.cn:50015 | ||||
| @@ -160,6 +160,7 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: http://111.198.0.15:22266 | oral_broadcasting: http://111.198.0.15:22266 | ||||
| video_path: http://111.198.0.15:22266 | |||||
| video_tts: http://111.198.0.15:22299 | video_tts: http://111.198.0.15:22299 | ||||
| huibo_tts_wav: http://111.198.0.15:22222 | huibo_tts_wav: http://111.198.0.15:22222 | ||||
| photo_speak: http://111.198.0.15:22299 | photo_speak: http://111.198.0.15:22299 | ||||
| @@ -204,6 +204,7 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: http://nas.pucao.cn:50014 | oral_broadcasting: http://nas.pucao.cn:50014 | ||||
| video_path: http://nas.pucao.cn:50014 | |||||
| callbackUrl: https://mtest.metavatar.cc/C | callbackUrl: https://mtest.metavatar.cc/C | ||||
| video_tts: http://111.198.0.15:22299 | video_tts: http://111.198.0.15:22299 | ||||
| huibo_tts_wav: http://111.198.0.15:22222 | huibo_tts_wav: http://111.198.0.15:22222 | ||||
| @@ -160,6 +160,7 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: http://111.198.0.15:22266 | oral_broadcasting: http://111.198.0.15:22266 | ||||
| video_path: http://111.198.0.15:22266 | |||||
| callbackUrl: https://neuver.metavatar.cc/C | callbackUrl: https://neuver.metavatar.cc/C | ||||
| video_tts: http://111.198.0.15:22299 | video_tts: http://111.198.0.15:22299 | ||||
| huibo_tts_wav: http://111.198.0.15:22222 | huibo_tts_wav: http://111.198.0.15:22222 | ||||
| @@ -160,7 +160,8 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: x.x.x.x | oral_broadcasting: x.x.x.x | ||||
| callbackUrl: x.x.x.x | |||||
| video_path: http://111.198.0.15:22266 | |||||
| callbackUrl: https://neuver.meta-autotv.com/C/callback/oral/broadcasting | |||||
| video_tts: x.x.x.x | video_tts: x.x.x.x | ||||
| huibo_tts_wav: x.x.x.x | huibo_tts_wav: x.x.x.x | ||||
| photo_speak: x.x.x.x | photo_speak: x.x.x.x | ||||
| @@ -190,6 +190,7 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: http://nas.pucao.cn:50014 | oral_broadcasting: http://nas.pucao.cn:50014 | ||||
| video_path: http://nas.pucao.cn:50014 | |||||
| callbackUrl: https://mtest.metavatar.cc/C | callbackUrl: https://mtest.metavatar.cc/C | ||||
| video_tts: http://111.198.0.15:22299 | video_tts: http://111.198.0.15:22299 | ||||
| huibo_tts_wav: http://111.198.0.15:22222 | huibo_tts_wav: http://111.198.0.15:22222 | ||||
| @@ -145,6 +145,7 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: http://111.198.0.15:22266 | oral_broadcasting: http://111.198.0.15:22266 | ||||
| video_path: http://111.198.0.15:22266 | |||||
| callbackUrl: https://neuver.metavatar.cc/C | callbackUrl: https://neuver.metavatar.cc/C | ||||
| video_tts: http://111.198.0.15:22299 | video_tts: http://111.198.0.15:22299 | ||||
| huibo_tts_wav: http://111.198.0.15:22222 | huibo_tts_wav: http://111.198.0.15:22222 | ||||
| @@ -153,6 +153,7 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: x.x.x.x | oral_broadcasting: x.x.x.x | ||||
| video_path: http://111.198.0.15:22266 | |||||
| callbackUrl: https://neuver.meta-autotv.com/C/callback/oral/broadcasting | callbackUrl: https://neuver.meta-autotv.com/C/callback/oral/broadcasting | ||||
| video_tts: x.x.x.x | video_tts: x.x.x.x | ||||
| huibo_tts_wav: x.x.x.x | huibo_tts_wav: x.x.x.x | ||||
| @@ -193,6 +193,7 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: http://nas.pucao.cn:50014 | oral_broadcasting: http://nas.pucao.cn:50014 | ||||
| video_path: http://nas.pucao.cn:50014 | |||||
| callbackUrl: https://mtest.metavatar.cc/C | callbackUrl: https://mtest.metavatar.cc/C | ||||
| video_tts: http://111.198.0.15:22299 | video_tts: http://111.198.0.15:22299 | ||||
| huibo_tts_wav: http://111.198.0.15:22222 | huibo_tts_wav: http://111.198.0.15:22222 | ||||
| @@ -149,6 +149,7 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: http://111.198.0.15:22266 | oral_broadcasting: http://111.198.0.15:22266 | ||||
| video_path: http://111.198.0.15:22266 | |||||
| callbackUrl: https://neuver.metavatar.cc/C | callbackUrl: https://neuver.metavatar.cc/C | ||||
| video_tts: http://111.198.0.15:22299 | video_tts: http://111.198.0.15:22299 | ||||
| huibo_tts_wav: http://111.198.0.15:22222 | huibo_tts_wav: http://111.198.0.15:22222 | ||||
| @@ -157,7 +157,8 @@ logging: | |||||
| suimang: | suimang: | ||||
| oral_broadcasting: x.x.x.x | oral_broadcasting: x.x.x.x | ||||
| callbackUrl: x.x.x.x | |||||
| video_path: http://111.198.0.15:22266 | |||||
| callbackUrl: https://neuver.meta-autotv.com/C/callback/oral/broadcasting | |||||
| video_tts: x.x.x.x | video_tts: x.x.x.x | ||||
| huibo_tts_wav: x.x.x.x | huibo_tts_wav: x.x.x.x | ||||
| photo_speak: x.x.x.x | photo_speak: x.x.x.x | ||||
| @@ -478,7 +478,7 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { | |||||
| UserMouldVideo userMouldVideo = this.getById(mouldVideo.getId()); | UserMouldVideo userMouldVideo = this.getById(mouldVideo.getId()); | ||||
| if(EnumVideoStatus.success.getCode().equals(userMouldVideo.getVideoStatus()) | if(EnumVideoStatus.success.getCode().equals(userMouldVideo.getVideoStatus()) | ||||
| || EnumVideoStatus.upload_fail.getCode().equals(userMouldVideo.getVideoStatus())){ | || EnumVideoStatus.upload_fail.getCode().equals(userMouldVideo.getVideoStatus())){ | ||||
| String url = AiVideoHelper.oral_broadcasting + mouldVideo.getVideoPath(); | |||||
| String url = AiVideoHelper.video_path + mouldVideo.getVideoPath(); | |||||
| VideUploadResult result = videoFactory.getExcutor(videoType).uploadVideoPath(mouldVideo.getTitle(), url); | VideUploadResult result = videoFactory.getExcutor(videoType).uploadVideoPath(mouldVideo.getTitle(), url); | ||||
| if(result.isSuccess()){ | if(result.isSuccess()){ | ||||
| @@ -36,6 +36,12 @@ public class AiVideoHelper { | |||||
| public void setOralBroadcasting(String oral_broadcasting){ | public void setOralBroadcasting(String oral_broadcasting){ | ||||
| this.oral_broadcasting = oral_broadcasting; | this.oral_broadcasting = oral_broadcasting; | ||||
| } | } | ||||
| public static String video_path; | |||||
| @Value("${suimang.video_path}") | |||||
| public void setVideoPath(String video_path){ | |||||
| this.video_path = video_path; | |||||
| } | |||||
| public static String video_tts; | public static String video_tts; | ||||
| @Value("${suimang.video_tts}") | @Value("${suimang.video_tts}") | ||||