> How would this function in two-party consent states like California?

It won't. Regulations permit sound recording, as long as it's not stored. Speech-to-text and hearing aids for disabled people are an example of permitted uses.