tkmn0 / SimpleWebRTCExample_iOS

Simple example for WebRTC on iOS written in swift5
MIT License
182 stars 49 forks source link

How can i add room key and user key for websocket connection? #27

Closed orkunaryus closed 4 years ago

orkunaryus commented 4 years ago

Hi, I am trying to connect to an existing web server. I need to enter the user key and room key for websocket. How can I add?

tkmn0 commented 4 years ago

Hi, Sorry for the late reply. I have a question. Can I ask about the existing web server in detail? Do you mean you want to add room key and user key for this server app?

tauypaldiyev commented 4 years ago

@tkmn0 Hi!) Help please, I want to call to exact user, for this I have user id/key and room id/key. Now, where to enter them? In other words, how can I call to user B from users [A, B, C, D, E, ...]?

tkmn0 commented 4 years ago

@tauypaldiyev HI, You mean you want to create full-mesh connection, right? (https://medium.com/@khan_honney/webrtc-servers-and-multi-party-communication-in-webrtc-6bf3870b15eb)

In this case, you need multi peer connections per participants. So, for example, A client needs peer for [B, C, D, E....] and others as well. I mean, if you want to connect A to B, B peer of A client to send signaling message to A peer of B client. FYI :)