feat: enable AGC by default on RoomInput audio#5185
Conversation
There was a problem hiding this comment.
🟡 AGC not applied to pre-connect audio buffer frames
The new _process_frame hook (which applies AGC via AudioProcessingModule) is called for regular stream frames in the base _forward_task at _input.py:153, but the pre-connect audio path in _ParticipantAudioInputStream._forward_task at _input.py:320 sends frames through _apply_audio_processor (noise cancellation) and _resample_frames without calling _process_frame. This means the initial pre-connect audio buffer will not have automatic gain control applied, while all subsequent stream frames will. This creates an inconsistent audio gain level at the transition from pre-connect to live audio.
(Refers to lines 320-322)
Was this helpful? React with 👍 or 👎 to provide feedback.
No description provided.