The AssemblyAI JavaScript SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, audio intelligence models, as well as the latest LeMUR models.
In front-end web development, data-URIs are sometimes used to represent files.
A user was recently using the Expo framework for building "native" apps.
When retrieving a file in Expo, the URI for the file is a data-URI.
Passing the data URI to client.files.upload(dataUri), client.transcripts.transcribe({audio: dataUri}) and client.transcripts.submit({audio: dataUri}) should just work.
In front-end web development, data-URIs are sometimes used to represent files. A user was recently using the Expo framework for building "native" apps. When retrieving a file in Expo, the URI for the file is a data-URI.
Passing the data URI to
client.files.upload(dataUri)
,client.transcripts.transcribe({audio: dataUri})
andclient.transcripts.submit({audio: dataUri})
should just work.