tkmn0 / SimpleWebRTCExample_iOS

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

Add example of peers client #32

Open tkmn0 opened 4 years ago

tkmn0 commented 4 years ago

Currently, this project can only establish peer to peer connection. And, there are some question that how to establish multiple connection. #30 #29 #27 ...

So, I created peers to handle multiple connection(signaling) for WebRTC full-mesh topology (you can try multiple connection here).

I will add peers-ios example in this project. Then everyone can play with multiple connection, I think :)

Machosh commented 4 years ago

thanks for this project, and this demo website!

Actually, I am using Signaling changed in your project. Can you share it so that only signaling can be changed in your demo?

tkmn0 commented 4 years ago

Thank you for your comment and playing with my projects :)

Actually, I am using Signaling changed in your project. Can you share it so that only signaling can be changed in your demo?

I'm planning to change WebRTC Client and signaling way (greatly), because peers using socket.io and peers has room logic before connect webrtc. I will add example folder to this project (like, examples/p2p, examples/multiple).

Thanks :)

Machosh commented 4 years ago

Thank you for kind reply :)

And I have another question.

Are you gonna make multiconnection with Mesh or SFU? Int this issue #23 looks like you prefer full mesh as fastway, and totally agree that

I just want to get ready for your next update

tkmn0 commented 4 years ago

Hi!

I will make multiconnection with Mesh FIRST! (within two or three month).

After Mesh connection, I may create SFU connection. (If developers want). In SFU case, I will use pion as SFU server. Thanks :)