Skip to content

Implement system echoCancellation capability detection for InputDeviceInfo #71

@General-Fault

Description

@General-Fault

Summary

AudioCapabilityQuery currently reports echo cancellation capabilities as software + disabled only. We intentionally fail exact echoCancellation: "system" to keep selection and option-resolution behavior consistent.

Problem

ResolveAudioOptions previously accepted "system" while capabilities did not advertise it, creating a mismatch between capability-based constraint selection and options application.

Requested work

  • Implement platform capability detection for system echo cancellation mode.
  • Advertise EchoCancellationMode.System in MediaTrackCapabilities.EchoCancellation only when supported.
  • Keep behavior aligned across:
    • InputDeviceInfo.GetCapabilities()
    • audio exact/ideal constraint selection
    • audio options resolution path
  • Add tests covering supported/unsupported system mode paths.

Notes

This is follow-up work to phase 3/#51 constraint-pattern completion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions