Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

feat: add Chromium optimization options for transcription-only workloads#10

Merged
rafaeljusto merged 1 commit into
mainfrom
chrome-optimization
Jan 23, 2026
Merged

feat: add Chromium optimization options for transcription-only workloads#10
rafaeljusto merged 1 commit into
mainfrom
chrome-optimization

Conversation

@rafaeljusto
Copy link
Copy Markdown

Add configurable environment variables to reduce resource usage when webpage streamer is used solely for transcription without recording.

Changes:

  • Add OPTIMIZE_CHROME_FOR_TRANSCRIPTION flag to enable performance optimizations
    • Disables animations, smooth scrolling, and renderer backgrounding
    • Reduces CPU and GPU overhead for audio-only use cases
  • Add WEBPAGE_STREAMER_VIDEO_FRAMERATE to make framerate configurable
    • Default remains 15 fps for backward compatibility
    • Can be lowered to 5 fps or less for transcription-only scenarios
  • Pass new environment variables through bot pod creator to webpage streamer

All changes are backward compatible with defaults matching current behavior. Enables significant resource reduction (~50% memory/CPU) when optimizations are enabled for transcription-focused deployments.

Environment variables:

  • OPTIMIZE_CHROME_FOR_TRANSCRIPTION (default: false)
  • WEBPAGE_STREAMER_VIDEO_FRAMERATE (default: 15)

Add configurable environment variables to reduce resource usage when
webpage streamer is used solely for transcription without recording.

Changes:
- Add OPTIMIZE_CHROME_FOR_TRANSCRIPTION flag to enable performance optimizations
  * Disables animations, smooth scrolling, and renderer backgrounding
  * Reduces CPU and GPU overhead for audio-only use cases
- Add WEBPAGE_STREAMER_VIDEO_FRAMERATE to make framerate configurable
  * Default remains 15 fps for backward compatibility
  * Can be lowered to 5 fps or less for transcription-only scenarios
- Pass new environment variables through bot pod creator to webpage streamer

All changes are backward compatible with defaults matching current behavior.
Enables significant resource reduction (~50% memory/CPU) when optimizations
are enabled for transcription-focused deployments.

Environment variables:
- OPTIMIZE_CHROME_FOR_TRANSCRIPTION (default: false)
- WEBPAGE_STREAMER_VIDEO_FRAMERATE (default: 15)
@rafaeljusto rafaeljusto requested a review from a team January 23, 2026 16:50
@rafaeljusto rafaeljusto merged commit 353ed8f into main Jan 23, 2026
@rafaeljusto rafaeljusto deleted the chrome-optimization branch January 23, 2026 17:01
rafaeljusto added a commit that referenced this pull request Jan 23, 2026
The latest stable release of Chrome has a breaking change that affected the bot
flow to join a meeting:

> Failed to join meeting and the UiCouldNotLocateElementException exception is
> retryable so retrying

Related to:
#10
ready4god2513 pushed a commit that referenced this pull request Feb 5, 2026
The latest stable release of Chrome has a breaking change that affected the bot
flow to join a meeting:

> Failed to join meeting and the UiCouldNotLocateElementException exception is
> retryable so retrying

Related to:
#10
rafaeljusto added a commit that referenced this pull request Feb 5, 2026
The latest stable release of Chrome has a breaking change that affected the bot
flow to join a meeting:

> Failed to join meeting and the UiCouldNotLocateElementException exception is
> retryable so retrying

Related to:
#10
rafaeljusto added a commit that referenced this pull request Feb 24, 2026
The latest stable release of Chrome has a breaking change that affected the bot
flow to join a meeting:

> Failed to join meeting and the UiCouldNotLocateElementException exception is
> retryable so retrying

Related to:
#10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant