AmplitudeRecorderService

The AmplitudeRecorderService is a utility service used to create amplitude values for voice recordings, making it possible to display a wave bar

Accessors

amplitudes

get amplitudes(): number[]

The recorded amplitudes

Returns

number[]

Defined in

projects/stream-chat-angular/src/lib/voice-recorder/amplitude-recorder.service.ts:76

Methods

pause

pause(): void

Temporarily pause amplitude recording, recording can be resumed with resume

Returns

void

Defined in

projects/stream-chat-angular/src/lib/voice-recorder/amplitude-recorder.service.ts:96


resume

resume(): void

Resume amplited recording after it was pasued

Returns

void

Defined in

projects/stream-chat-angular/src/lib/voice-recorder/amplitude-recorder.service.ts:104


start

start(stream): void

Start amplitude recording for the given media stream

Parameters

NameType
streamMediaStream

Returns

void

Defined in

projects/stream-chat-angular/src/lib/voice-recorder/amplitude-recorder.service.ts:84


stop

stop(): void

Stop the amplitude recording and frees up used resources

Returns

void

Defined in

projects/stream-chat-angular/src/lib/voice-recorder/amplitude-recorder.service.ts:129

© Getstream.io, Inc. All Rights Reserved.