From 4b6f6853154aac78c1dba65cad6884adfcb3a1a7 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 10 Mar 2020 22:56:39 +0800 Subject: [PATCH] 1 --- app/libs/aliyun_vod/service/video_manage.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/libs/aliyun_vod/service/video_manage.rb b/app/libs/aliyun_vod/service/video_manage.rb index af31f6175..535f76546 100644 --- a/app/libs/aliyun_vod/service/video_manage.rb +++ b/app/libs/aliyun_vod/service/video_manage.rb @@ -35,8 +35,9 @@ module AliyunVod::Service::VideoManage }.merge(base_params) result = request(:post, params) - Rails.logger.info("#######:#{result}") + Rails.logger.info("#######:#{result['Mezzanine']['VideoStreamList'][0]['CodecName']}") result['Mezzanine']['VideoStreamList'][0]['CodecName'] + rescue => e Rails.logger.info "读取视频编码信息失败: #{video_id}, #{e.message}" end