|
|
@@ -374,7 +374,7 @@ public class CourseSectionServiceImpl extends ServiceImpl<CourseSectionMapper, C
|
|
|
try{
|
|
|
MediaInfo mediaInfo = iVodService.describeMediaInfo(bo.getRecordingUrl());
|
|
|
if(Validator.isNotEmpty(mediaInfo)){
|
|
|
- bo.setDurationTime(new Long(DateUtils.durationFormat(mediaInfo.getMetaData().getDuration().toString())));
|
|
|
+ bo.setDurationTime(mediaInfo.getMetaData().getDuration().longValue());
|
|
|
}
|
|
|
}catch (Exception e){
|
|
|
errorLog+="第"+(size - Index)+"条:读取腾讯云时长错误。\r\n";
|