rico345100 / react-multimedia-capture

react-multimedia-capture is Multimedia capturing module via React, using HTML5 MediaDevice and MediaRecorder API
49 stars 14 forks source link

Hardcoded mime type #26

Open edgardozoppi opened 1 year ago

edgardozoppi commented 1 year ago

In the following line (i) it should use the same mime type used when creating the MediaRecorder object in line (ii).

i) https://github.com/rico345100/react-multimedia-capture/blob/e926289ec3949ee48521059f3d08232d0d3f8065/src/index.js#L233

ii) https://github.com/rico345100/react-multimedia-capture/blob/e926289ec3949ee48521059f3d08232d0d3f8065/src/index.js#L146

This fix is required to properly support Safari as it currently do not support webm mime types.