Function getConstraintsWithoutDeviceId

  • Remove deviceId constraints from constraints to fallback to default device Returns null if no deviceId was specified (no fallback possible)

    Parameters

    • constraints: MediaStreamConstraints

    Returns MediaStreamConstraints