-
Notifications
You must be signed in to change notification settings - Fork 0
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
.
Applies the audio filter on a given input track.
-
inputTrack
:MediaStreamTrack
- A single media track within the audio stream to which the filter is being applied.
-
Promise<MediaStreamTrack>
-Promise that resolves to the filtered audio media track.
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.
none
-
Promise<void>
- Promise that resolves once the operation is completed.