SamuelScheit / puppeteer-stream

A Library for puppeteer to retrieve audio and/or video streams
MIT License
335 stars 105 forks source link

Unsupported mimeTypes can be removed from BrowserMimeType #61

Closed DantrazTrev closed 1 year ago

DantrazTrev commented 1 year ago

The current browser mime type type allow's values that are not supported by MediaRecorder API https://github.com/Flam3rboy/puppeteer-stream/blob/c55492edc9fc6421e095cb173eff4cf8359431bf/src/PuppeteerStream.ts#L118-L129

A list for supported mimetypes can be drawn from the Chromium source code https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/fast/mediarecorder/MediaRecorder-isTypeSupported.html

SamuelScheit commented 1 year ago

done in 8109e4e