diff --git a/app/services/videos/dispatch_callback_service.rb b/app/services/videos/dispatch_callback_service.rb index ca59fd4b6..2e3d85987 100644 --- a/app/services/videos/dispatch_callback_service.rb +++ b/app/services/videos/dispatch_callback_service.rb @@ -22,7 +22,7 @@ class Videos::DispatchCallbackService < ApplicationService play_url = result['PlayInfoList']['PlayInfo'][0]['PlayURL'] if result video.update!(cover_url: params['CoverUrl'], play_url: play_url) when 'StreamTranscodeComplete' then # 转码完成 - return if video.play_url.present? + #return if video.play_url.present? video.update!(play_url: params['FileUrl'], transcoded: true) when 'DeleteMediaComplete' #完成云端视频删除 video.update_column(:delete_state, Video::FINISH_DELETE)