# VoiceRecorderComponent

> **Info:** This is release candidate documentation for **Stream Chat Angular SDK v8**. For the latest stable version, see the [latest version (v7)](https://getstream.io/chat/docs/sdk/angular/).

The `VoiceRecorderComponent` makes it possible to record audio, and then upload it as a voice recording attachment

![Voice recorder](https://getstream.io/docs-assets/images/2d038ee33222.png)

## Usage

Please refer to the [voice recordings guide](https://getstream.io/chat/docs/sdk/angular/v8/code-examples/voice-recordings/)

## Customization

Please refer to the [voice recordings guide](https://getstream.io/chat/docs/sdk/angular/v8/code-examples/voice-recordings/)

[//]: # "Start of generated content"

## Inputs and outputs

### recordingAttachment

`Optional` **recordingAttachment**: `Attachment`

The recording in the attachment format, used to play back the recording before it's sent

#### Defined in

[lib/voice-recorder/voice-recorder.component.ts:33](https://github.com/GetStream/stream-chat-angular/blob/8ed7ea67ea3deb96c2ae7fcccfd82bd32ad7f184/projects/stream-chat-angular/src/lib/voice-recorder/voice-recorder.component.ts#L33)

[//]: # "End of generated content"

---

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/angular/v8/components/VoiceRecorderComponent/](https://getstream.io/chat/docs/sdk/angular/v8/components/VoiceRecorderComponent/).