how to add stun server in peerconnection examples?

15 views
Skip to first unread message

陳宣甫

unread,
May 24, 2023, 1:57:59 AM5/24/23
to discuss-webrtc

Dear All,

I've attempted to run the peerconnection examples on Ubuntu 18.04 and Ubuntu 16.04.

Setup details:

  • PC1: Connected to the internet via a public IP

    • Server side: Running on a public IP, port 8888
    • Client side: Running one client
  • PC2: Connected to the internet via a smartphone's Wi-Fi

    • Client side: Running one client, connecting to the server's public IP

I've found this example to be workable, even across different types of internet connections. However, I'm not exactly sure how it functions. Could anyone kindly explain how this setup works?

Additionally, could anyone guide me on how to integrate the STUN server (specifically, the Coturn project) into the peerconnection examples?

Thank you in advance for your assistance.

Reply all
Reply to author
Forward
0 new messages