tkmn0 / SimpleWebRTCExample_iOS

Simple example for WebRTC on iOS written in swift5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authentication

9SL9 opened this issue · comments

commented

Hi - thank you so much for sharing your hard work. This has helped me so much.

Do you know I could add in a simple password option so both people need to know a simple password before they are able to join?

Thanks

commented

Hi, thank you for your comment :)

  1. set up password input view.
  2. modify signaling message to be included a password field and value.
  3. validate password when received signaling message(here).

I think this is the easiest way because only need to change client side.
If we need advanced options, I think we should change server side code.

Thanks too.

commented

Thank you. Yes I was hoping to do it server side also. I guess this would mean looking for the value in the JSON. I will trying your suggestion and do it client side. Thanks