speechmatics / speechmatics-js-sdk

Javascript and Typescript SDK for Speechmatics
MIT License
39 stars 4 forks source link

Allow optional file name when creating job #7

Closed mnemitz closed 9 months ago

mnemitz commented 9 months ago

This PR adds support for passing a fileName string when calling transcribe or createJob.

This is to handle the case where a user passes a raw Blob as opposed to a File. It will also be useful when we add support for Buffer or ReadStream inputs, which will also lack file name metadata.