Skip to content

webrtc: Expose CaptureCompressionGain and GainController1 config for Java - #111

Open
XiaWuSharve wants to merge 4 commits into
GetStream:mainfrom
XiaWuSharve:expose-capture-compression-gain-feature
Open

webrtc: Expose CaptureCompressionGain and GainController1 config for Java#111
XiaWuSharve wants to merge 4 commits into
GetStream:mainfrom
XiaWuSharve:expose-capture-compression-gain-feature

Conversation

@XiaWuSharve

Copy link
Copy Markdown

This CL exposes the capture compression gain and GainController1
configuration APIs to the Java layer via ExternalAudioProcessingFactory.

Previously, these AGC parameters were not configurable from Java,
making it difficult to tune audio processing for specific communication
scenarios.

Changes:

  • Add setCaptureCompressionGain() to runtime adjust compression gain.
  • Add enableGainController1() with Agc1Mode enum to configure mode,
    target level, compression gain, and limiter.
  • Implement native JNI bindings in external_audio_processing_factory.cc.
  • Add logging in AudioProcessingImpl to track runtime setting handling.

Bug: None
Test: Manually tested with GetStream's WebRTC build

@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: ec6ea651-a871-4a01-b67a-98e10243e778


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant