Comments (6)
audio怎么生成的?
from cos-nodejs-sdk-v5.
postman本地上传的。上传的格式是formdata @carsonxu
from cos-nodejs-sdk-v5.
每次都是上传到 precent 0.99就报错了
{ loaded: 11599872,
total: 15289568,
speed: 10622593.4,
percent: 0.75 }
{ loaded: 15288862,
total: 15289568,
speed: 3670636.81,
percent: 0.99 }
{ loaded: 15288862, total: 15289568, speed: 0, percent: 0.99 }
from cos-nodejs-sdk-v5.
audio的readable为true
PassThrough {
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: [Object], tail: [Object], length: 1 },
length: 15288862,
pipes: null,
pipesCount: 0,
flowing: null,
ended: true,
endEmitted: false,
reading: false,
sync: false,
needReadable: false,
emittedReadable: true,
readableListening: false,
resumeScheduled: false,
destroyed: false,
defaultEncoding: 'utf8',
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: true,
domain: null,
_events: { end: { [Function: bound onceWrapper] listener: [Function: onend] } },
_eventsCount: 1,
_maxListeners: undefined,
_writableState:
WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: true,
ended: true,
finished: true,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: true,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree:
{ next: null,
entry: null,
finish: [Function: bound onCorkedFinish] } },
writable: false,
allowHalfOpen: true,
_transformState:
TransformState {
afterTransform: [Function],
needTransform: false,
transforming: false,
writecb: null,
writechunk: null,
writeencoding: 'buffer' },
name: '许巍 - 在别处 (Live).mp3',
mimetype: 'audio/mpeg',
encoding: '7bit' }
from cos-nodejs-sdk-v5.
@carsonxu 可以了。PassThrough转换流不行,用ReadStream可以了
from cos-nodejs-sdk-v5.
ok
from cos-nodejs-sdk-v5.
Related Issues (20)
- CompatibilityMode什么情况下生效呢 HOT 1
- React with template typescript build failed HOT 1
- 能不能更新一下包版本 HOT 1
- error TS2430: Interface 'RequestParams' incorrectly extends interface 'BucketParams'. HOT 1
- SDK's ts checked error HOT 1
- 人才,能不能编译发版一下2.11.18,等着你修复线上问题呢(狗头) HOT 1
- 上传文件显示missing param SecretId的错误 HOT 1
- 删除文件删不掉 HOT 3
- 我在使用分片上传2GB的zip文件到时候发生数据丢失问题 HOT 4
- 2.10.10版本出现ts错误,重复定义Range字段 HOT 1
- 请问nodejs sdk支持自定义请求头信息吗? HOT 1
- qs这个版本有安全风险
- cos.downloadFile 支持暂停和断点下载吗? HOT 1
- `COS.downloadFile` 的响应定义不准确 HOT 2
- `getObjectUrl` 对象访问 URL 接口缺少 `Domain` 等参数 HOT 2
- uploadFiles上传失败 HOT 1
- 请问有更新es module的计划吗 HOT 1
- 分片长时间下载大文件时不会释放文件句柄 HOT 1
- getBucket方法的data类型有些问题 HOT 1
- TypeError: Property 'StartTime' is required in type 'Credentials'. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cos-nodejs-sdk-v5.