Skip to content

AudioFilter

Ajša Terko edited this page Feb 22, 2023 · 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.



apply(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



release()

Description

Called after the filter has been detached and no longer used. The method should release resources (if any) allocated by the filter to avoid memory leaks.

Arguments

  • none

Returns

  • Promise<void> - Promise that resolves once all resources have been released.

Tutorials

Migration guides

Reference documentation

Clone this wiki locally