FrankerFaceZ / Add-Ons

Add-Ons are additional modules for FrankerFaceZ that provide new behaviors and ways to customize Twitch.
67 stars 58 forks source link

FrankerFaceZ Audio Compressor Interferes with Live Caption #246

Closed xuchkang171 closed 4 days ago

xuchkang171 commented 4 days ago

When using Live Caption in Chrome with the FrankerFaceZ audio compressor feature enabled, the captions become unreliable and flicker. This manifests as:

Reproduction Steps

  1. Start a Twitch stream or video with Live Caption enabled.
  2. Enable the FrankerFaceZ audio compressor feature.
  3. Observe the flickering and inconsistent captions.
  4. Disable the FrankerFaceZ audio compressor and refresh the page.
  5. Verify that Live Caption is now working correctly without flickering.

Possible Cause

It is suspected that the FrankerFaceZ audio compressor might be interfering with the audio processing used by Live Caption. One possible explanation is that the extension might be creating an additional audio track that is playing simultaneously, causing confusion for Live Caption.

Additional Information

Expected Behavior

Live Caption should display accurate and stable captions regardless of FrankerFaceZ features being used.

SirStendec commented 4 days ago

Duplicate of https://github.com/FrankerFaceZ/FrankerFaceZ/issues/1524

Pasted response:

This is a bug with Chrome, not with FrankerFaceZ. We are using the web audio API in a normal way, so if the browser can't handle that correctly, there's nothing for us to do about it. Just don't use the feature if you need live captions to work.

As for needing to reset the player before it starts working again, that has to do with a limitation of the web audio API. Once we have switched the audio pipeline from the standard