binaryjs-upload-stream icon indicating copy to clipboard operation
binaryjs-upload-stream copied to clipboard

Large Files

Open pdxbenjamin opened this issue 10 years ago • 2 comments

Hello The sample 5 second videos work fine, but larger video files get these errors in Chrome. Latest binaryjs, express etc...

WebSocket connection to 'ws://video.domain.com:3032/' failed: Failed to send WebSocket frame. binary.js:1341

Uncaught TypeError: Cannot read property 'forEach' of undefined main.js:34

WebSocket connection to 'ws://video.domain.com:3032/' failed: Failed to send WebSocket frame. binary.js:1341

WebSocket connection to 'ws://video.domain.com:3032/' failed: Failed to load Blob: error code = 3 binary.js:1341

pdxbenjamin avatar Jul 28 '14 23:07 pdxbenjamin

Hello,

I am also getting issue while uploading the Large video file size >11MB.

throw new Error('Stream is not writable'); ^ Error: Stream is not writable

While trying to write this. stream.write({end:true}) in video.js

muneer1987 avatar Sep 20 '17 10:09 muneer1987

By Using below changes my code is working fine. https://github.com/rajkissu/binaryjs-upload-stream/pull/3

muneer1987 avatar Sep 20 '17 12:09 muneer1987