videojs-record icon indicating copy to clipboard operation
videojs-record copied to clipboard

Video example doesn't working on Chrome on IOS

Open YongLiangSu opened this issue 3 years ago • 23 comments

Description

https://collab-project.github.io/videojs-record/demo/video-only.html

Video Example is not working on Chrome on IOS

Results

Actual

Recording is normal but after finishing, it popup error.

Error output

The media could not be loaded, either because the server or network failed or because the format is not supported.

Versions

Chrome: 91.0.4472.80

videojs-record: 4.5.0

iOS: 14.6

YongLiangSu avatar Jul 05 '21 03:07 YongLiangSu

what version of Chrome? what version of videojs-record? what version of iOS?

thijstriemstra avatar Jul 05 '21 07:07 thijstriemstra

what version of Chrome? what version of videojs-record? what version of iOS?

Hey sorry.

Chrome: 91.0.4472.80

videojs-record: 4.5.0

iOS: 14.6

YongLiangSu avatar Jul 05 '21 07:07 YongLiangSu

I'm getting the same issue. iOS: 14.6 Chrome: 91.0.4472.80 videojs-record: 4.3.0

Recording was working before, the only change for sure was iOS version, but I'm assuming Chrome version might've been updated as well.

aphavichitr avatar Jul 08 '21 05:07 aphavichitr

@thijstriemstra do you have the same issue?

YongLiangSu avatar Jul 09 '21 06:07 YongLiangSu

I'm having the same issue, is not just your lib, seems RecordRTC has same issue so is most likely something changed with chrome, everything works until recording is stopped then blob is empty, on("error", event fires but the error is undefined, additionally it fires on("finishRecord", event twice in chrome

(from multer req.file, I have no means to access console on ipad)

{
  fieldname: 'video',
  originalname: '1628681973690.webm',
  encoding: '7bit',
  mimetype: 'video/webm',
  buffer: <Buffer >,
  size: 0
}
{
  fieldname: 'video',
  originalname: '1628681973711.webm',
  encoding: '7bit',
  mimetype: 'video/webm',
  buffer: <Buffer >,
  size: 0
}

in Safari, works fine

{
  fieldname: 'video',
  originalname: '1628682219672.mp4',
  encoding: '7bit',
  mimetype: 'video/mp4',
  buffer: <Buffer 00 00 00 1c 66 74 79 70 69 73 6f 35 00 00 00 01 69 73 6f 6d 69 73 6f 35 68 6c 73 66 00 00 04 41 6d 6f 6f 76 00 00 00 6c 6d 76 68 64 00 00 00 00 dd 39 ... 1461374 more bytes>,
  size: 1461424
}

using: videoMimeType: 'video/webm;codes=H264',

ipad chrome version: 92.0.4515.90 ipad version: iPadOS 14.7.1 videojs-record version: 4.5.0

lcherone avatar Aug 11 '21 11:08 lcherone

most likely something changed with chrome,

What specific chrome version(s) did this change?

thijstriemstra avatar Aug 16 '21 23:08 thijstriemstra

most likely something changed with chrome,

What specific chrome version(s) did this change?

If there is a way to downgrade an iPad app to a specific version, it would be easy to find out.

lcherone avatar Aug 17 '21 01:08 lcherone

If there is a way to downgrade an iPad app to a specific version, it would be easy to find out.

Probably not.

thijstriemstra avatar Aug 17 '21 11:08 thijstriemstra

+1

alectrocute avatar Aug 24 '21 14:08 alectrocute

Could be fixed with #600

alectrocute avatar Aug 24 '21 14:08 alectrocute

Could be fixed with #600

@alectrocute have you tested it?

thijstriemstra avatar Aug 31 '21 22:08 thijstriemstra

I'm getting the same sadly.

Works great on iOS Safari.

I've tried all versions on the demo page with iOS Chrome and I get the same 0 bytes error on all.

iOS 15.2.1 on iPhone XS Max iOS Chrome App 97.0.4

shealan avatar Feb 01 '22 08:02 shealan

image macos/chrome

endigma avatar Apr 25 '22 02:04 endigma

Hi, I am still facing this issue with my iOS chrome all versions. Is there a workaround for this?

ShinuMathew avatar Apr 27 '22 12:04 ShinuMathew

@ShinuMathew we've given up and started running an ffmpeg microservice, eats whatever the client sends and crushes it into 480p webms

endigma avatar Apr 27 '22 13:04 endigma

@endigma does this work for the client side? I am trying to record videos from my angular app and send it to my backend services in chunks. Can we achieve this use case with your solution? If so please share the library or documentation related to it

ShinuMathew avatar Apr 27 '22 14:04 ShinuMathew

@ShinuMathew I wrote the transcode service myself, uploading to a temp dir, transcoding and sending to S3. The solution is for a closed source commercial product so I can't share implementation details.

endigma avatar Apr 27 '22 14:04 endigma

@ShinuMathew I wrote the transcode service myself, uploading to a temp dir, transcoding and sending to S3. The solution is for a closed source commercial product so I can't share implementation details.

Oh ok. Thanks

ShinuMathew avatar Apr 27 '22 15:04 ShinuMathew

Description

https://collab-project.github.io/videojs-record/demo/video-only.html

Video Example is not working on Chrome on IOS

Results

Actual

Recording is normal but after finishing, it popup error.

Error output

The media could not be loaded, either because the server or network failed or because the format is not supported.

Versions

Chrome: 91.0.4472.80

videojs-record: 4.5.0

iOS: 14.6

Description

https://collab-project.github.io/videojs-record/demo/video-only.html

Video Example is not working on Chrome on IOS

Results

Actual

Recording is normal but after finishing, it popup error.

Error output

The media could not be loaded, either because the server or network failed or because the format is not supported.

Versions

Chrome: 91.0.4472.80

videojs-record: 4.5.0

iOS: 14.6

I have same issue? Have you resolved it?

hamideh531 avatar Jun 23 '22 15:06 hamideh531

Description

https://collab-project.github.io/videojs-record/demo/video-only.html Video Example is not working on Chrome on IOS

Results

Actual

Recording is normal but after finishing, it popup error.

Error output

The media could not be loaded, either because the server or network failed or because the format is not supported.

Versions

Chrome: 91.0.4472.80 videojs-record: 4.5.0 iOS: 14.6

Description

https://collab-project.github.io/videojs-record/demo/video-only.html Video Example is not working on Chrome on IOS

Results

Actual

Recording is normal but after finishing, it popup error.

Error output

The media could not be loaded, either because the server or network failed or because the format is not supported.

Versions

Chrome: 91.0.4472.80 videojs-record: 4.5.0 iOS: 14.6

I have same issue? Have you resolved it?

DianaCiurea avatar Aug 30 '22 09:08 DianaCiurea

I have same issue? Have you resolved it?

jmlorite avatar Apr 28 '23 13:04 jmlorite

I am facing the same issue on Ios Chrome. Is there any solution to work for Ios Chrome?

aliumair-CD avatar Sep 28 '23 15:09 aliumair-CD

I'm facing the same error on Chrome/iOS, using the recordRTC lib. So it looks as if this remains unresolved yet.

LetMeDream avatar Feb 07 '24 17:02 LetMeDream