Talking on speakerphone in public spaces is not rude.

As long as it is an appropriate space and time where you would be having an open conversation with someone in person- using speakerphone is absolutely fine.

It's literally just two people talking.