Connect only 2 users

I am using the external API of Jitsi Meet to make videocalls only between 2 people. This way I think not to use the p2p connection which is not so safe. How can I do this using the API? I don’t want to use password nor authentication. Any Idea?