v134 · realtime / communication

Remove nonstandard getUserMedia audio constraints

Blink supports a number of nonstandard goog-prefixed constraints for getUserMedia from some time before constraints were properly standardized.

concepts

  1. Non-standard getUserMedia constraints

    Drops Chrome's non-standard getUserMedia audio constraints. Use the standardised echoCancellation / noiseSuppression / autoGainControl.

  2. Migration codemod

    Paste a legacy goog* constraints object, get a standardised rewrite, and test it live against navigator.mediaDevices.getUserMedia.

  3. Constraint Audit

    Paste a production audio-constraint object. Per-key audit (standard / removed / replaced) and an apply-against-real-getUserMedia button.

  4. Audio Settings Tester

    Toggle standard and removed goog* constraints, call real getUserMedia(), and read the actually-granted track.getSettings() values. Shows which goog* constraints are silently ignored in Chrome 134.

why it shipped

These goog-prefixed constraints are a relic from the pre-standard getUserMedia times and should not be used by anyone.

references