TranscoderService

The TranscoderService is used to transcibe audio recording to a format that's supported by all major browsers. The SDK uses this to create voice messages.

If you want to use your own transcoder you can provide a customTranscoder.

Methods

transcode

transcode(blob): Promise<Blob>

The default transcoder will leave audio/mp4 files as is, and transcode webm files to wav. If you want to customize this, you can provide your own transcoder using the customTranscoder field

Parameters

Name Type
blob Blob

Returns

Promise<Blob>

the transcoded file

Defined in

projects/stream-chat-angular/src/lib/voice-recorder/transcoder.service.ts:63

Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat Angular v7: <Your Question>