Skip to content

AudioFilter

Adnan Elezović edited this page Sep 30, 2024 · 2 revisions

Note: Your audio filter implementation needs to implement this interface. For example implementations that fit common use cases, take a look at our RTC extensions library.



start(inputTrack)

Description

Applies the audio filter on a given input track.

Arguments

  • inputTrack: MediaStreamTrack - A single media track within the audio stream to which the filter is being applied.

Returns



stop()

Description

Called after the filter has been detached and no longer used. The method should release resources (if any) allocated by the start() method to avoid memory leaks. Once stopped, the filter must be able to handle start() invocations, in case the filter is applied again.

Arguments

  • none

Returns

  • Promise<void> - Promise that resolves once the operation is completed.

Tutorials

Migration guides

Reference documentation

Clone this wiki locally