【发布时间】:2017-09-15 05:19:28
【问题描述】:
根据azure media services - The request body is too large and exceeds the maximum permissible limit大尺寸视频效果很好,但是上传后资产无法编码,谁能帮帮我?
我的代码是这样的:
@Override
protected void createBlobWriter(LocatorInfo uploadLocator, String fileName, InputStream input)
throws ServiceException {
try {
CloudBlobContainer container = new CloudBlobContainer(URI.create(uploadLocator.getPath()));
CloudBlockBlob blob = container.getBlockBlobReference(fileName);
blob.upload(input, input.available());
}
catch (StorageException e) {
e.printStackTrace();
}
catch (IOException e) {
e.printStackTrace();
}
catch (URISyntaxException e) {
e.printStackTrace();
}
}
在https://portal.azure.cn 中进行编码, 并编码运行错误: enter image description here
【问题讨论】: