courseware
daiao 5 years ago
parent 4eb80462f8
commit 4b6f685315

@ -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

Loading…
Cancel
Save