GetUserMedia and MediaRecorder - 416 The requested range cannot be adopted

I have an HTML5 media recorder that allows users to record themselves in a web application, play and download a recording.

It uses the standard c code getUserMediato get the webcam and microphone descriptor, <video>to play the webcam, and MediaRecorderto record the stream from getUserMedia.

So, to the problem ...

On some Macbook Air devices, when I try to play a recorded stream in a <video>Google Chrome element, it gives an error 416 (the requested range does not suit). It seems that so far the problem has arisen only on OSX with Chrome, but not on all devices of this combination.

There appears a Chromium error that refers to this problem, but it is marked as "Fixed." https://bugs.chromium.org/p/chromium/issues/detail?id=615940 However, I am not sure that the complete problem has been resolved based on the comment on the tickets. I a recent commentator noted that this affects Facebook Messenger too!

Have you seen this problem before, and did you know of a workaround for OSX with Chrome users who do not include using Windows or using Firefox?

+4
source share
1 answer

, Chromium , , Mac OS. , .

, Chrome 63, 2017 , .

MediaRecorder

WebRTC 2017

+1

Source: https://habr.com/ru/post/1680786/


All Articles