switchUserVideoAlt

Switches video input devices by facing mode (front/back camera).

This implements the Flutter pattern with 3 fallback attempts:

  1. First attempt with facingMode + full constraints

  2. If fails, enumerate devices and try matching devices by label

  3. Third attempt with minimal facingMode only

Parameters

options

Options for switching video device