Skip to content

Restarting local audio track with noise cancellation #2034

@DuncanB2413

Description

@DuncanB2413

We have a timeout for a few seconds when tracks are stopped unexpectedly, and if they are still down we restart the tracks.
While testing LocalAudioTrack.restart, it was discovered that noise cancellation (with Krisp) is not applied to the new mediaStreamTrack and the audio quality suffers tremendously.
We also use refreshInactiveMedia as best practice recommendation whenever a track is muted. We haven't actually tested noise cancellation with refreshInactiveMedia, but the source says that restart is being used under the hood, so this will also probably also ruin noise cancellation.

We would like recommendations on how to proceed given the current limitation of restarting tracks.

We want to request that it be made possible to restart audio tracks with noise cancellation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions