muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.49k stars 1.75k forks source link

invokeSaveAsDialog cannot handle extended mimetype #731

Closed thijstriemstra closed 3 years ago

thijstriemstra commented 3 years ago

Chrome 89 on MacOS produces a mimetype of video/webm;codecs=vp8,opus

Calling invokeSaveAsDialog on such a blob results in a file extension of webm;codecs=vp8,opus instead of webm.

See https://github.com/muaz-khan/RecordRTC/blob/master/dev/Cross-Browser-Declarations.js#L155