How can I create voice chat in games?

I would create a system of “push to talk” when Player 1 presses “SHIFT” he speaks (his microphone), the true voice of the player.

One can like this video (in unity) - YouTube

Yes please, I would like that very much.