react-webcam icon indicating copy to clipboard operation
react-webcam copied to clipboard

iOS no data when stop recording

Open rorlich opened this issue 2 years ago • 2 comments

based on the following demo

https://codepen.io/mozmorris/pen/yLYKzyp?editors=0010

when using safari/chrome in an iPhone 16.6.1 once clicking stop button nothing happens.

looking at the code it's seems that dataavailable never fires

mediaRecorderRef.current.addEventListener(
  "dataavailable",
  handleDataAvailable
);

rorlich avatar Nov 08 '23 12:11 rorlich

Did you find a fix for this?

Edit: It works for me when I change the video format from webm to mp4

jhKessler avatar Sep 25 '24 09:09 jhKessler

Someone has find da solution?

leomullerluiz avatar Jun 24 '25 18:06 leomullerluiz