Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building ICEPerf.com

Building ICEPerf.com

A talk given at Januscon 2024 about testing STUN and TURN, more specifically TURN networks like Twilio, Xirsys, Cloudflare, Metered and ExpressTURN

danjenkins

April 30, 2024
Tweet

More Decks by danjenkins

Other Decks in Technology

Transcript

  1. – Building ICEPerf – JanusCon 2024 Dan Jenkins 3 Founder

    of Everycast Labs, Nimble Ape Creator of CommCon Was the f irst "Google Developer Expert" in WebRTC Loves LEGO Loves Real-Time Media Loves developing for "the web" Over 10 years in Open Source RTC @dan_jenkins / @[email protected]
  2. – Building ICEPerf – JanusCon 2024 Marco Vidonis 4 Software

    Engineer at Nimble Ape 3 years @ Nimble Ape Leeds, UK OCRs and sailing Half marathon
  3. – Building ICEPerf – JanusCon 2024 Nimble Ape 5 Real-Time

    Communication consultancy Based in the UK Work with Open Source Real- Time Comms VoIP, WebRTC, Broadcast/ Video delivery [email protected]
  4. – Building ICEPerf – JanusCon 2024 Everycast Labs 6 Creators

    of Broadcast Bridge (broadcastbridge.app) A Platform as a Service for bringing in remote talent into production AV work f lows We work with WebRTC / SRT / NDI / Decklink & AJA cards and more [email protected]
  5. – Building ICEPerf – JanusCon 2024 CommCon 7 "Open Media"

    - Real-Time or not 5 Years worth of content on our YouTube Channel commcon.xyz London & San Francisco June 2024 - 1 Day Hackathon, 1 Day Conference
  6. – Building ICEPerf – JanusCon 2024 It's How We Make

    Connections Between WebRTC Peers 14
  7. – Building ICEPerf – JanusCon 2024 "Oi, Server in the

    Cloud... What's my Public IP and Port?" 17
  8. – Building ICEPerf – JanusCon 2024 "Oi, Server, I Want

    To Send my Traf f ic Through You, How Can I Do That?" 19
  9. – Building ICEPerf – JanusCon 2024 Delays in the ICE

    Process Slow Down Peer Connection Creation 22
  10. – Building ICEPerf – JanusCon 2024 What Public Data Is

    There About the Performance of STUN and TURN Servers? 23
  11. – Building ICEPerf – JanusCon 2024 None* 24 *Bold Statement

    without any hard evidence to back it up
  12. – Building ICEPerf – JanusCon 2024 After Buying Turnperf.Com &

    Relayperf.Com We Realised That Was Only Half the Story 30
  13. – Building ICEPerf – JanusCon 2024 Time To Receive a

    Candidate (STUN & TURN) Latency Through a TURN Server Throughput Through a TURN Server 54
  14. – Building ICEPerf – JanusCon 2024 TURN Tests Connect Out

    via a TURN Server and Back to the 2nd Local Peer Connection 58
  15. – Building ICEPerf – JanusCon 2024 All Tests Are Run

    From a Home Broadband Connection 59
  16. – Building ICEPerf – JanusCon 2024 BYOTSP Bring Your Own

    TURN Server Providers 65– Building ICEPerf – JanusCon 2024
  17. – Building ICEPerf – JanusCon 2024 BYOTSP Bring Your Own

    TURN Server Providers Plug-in providers 65– Building ICEPerf – JanusCon 2024
  18. – Building ICEPerf – JanusCon 2024 BYOTSP Bring Your Own

    TURN Server Providers Plug-in providers Toggle providers and capabilities on and o f 65– Building ICEPerf – JanusCon 2024
  19. – Building ICEPerf – JanusCon 2024 BYOTSP Bring Your Own

    TURN Server Providers Plug-in providers Toggle providers and capabilities on and o f Save di ff erent con f igs 65– Building ICEPerf – JanusCon 2024
  20. – Building ICEPerf – JanusCon 2024 BYOTSP Bring Your Own

    TURN Server Providers Plug-in providers Toggle providers and capabilities on and o f Save di ff erent con f igs Plan to expand 65– Building ICEPerf – JanusCon 2024
  21. – Building ICEPerf – JanusCon 2024 Code design Drivers BDD

    (Learn Go With Tests https:// quii.gitbook.io/learn-go-with- tests) 67– Building ICEPerf – JanusCon 2024
  22. – Building ICEPerf – JanusCon 2024 70 Speci f ication

    – Building ICEPerf – JanusCon 2024
  23. – Building ICEPerf – JanusCon 2024 76 Speci f ication

    – Building ICEPerf – JanusCon 2024
  24. – Building ICEPerf – JanusCon 2024 77 Test: Cloud f

    lare – Building ICEPerf – JanusCon 2024
  25. – Building ICEPerf – JanusCon 2024 Open Source 83– Building

    ICEPerf – JanusCon 2024 nimbleape/iceperf-website nimbleape/iceperf-agent
  26. – Building ICEPerf – JanusCon 2024 There Is Much Work

    To Do. 85– Building ICEPerf – JanusCon 2024
  27. – Building ICEPerf – JanusCon 2024 But Everything Has a

    Beginning. 86– Building ICEPerf – JanusCon 2024
  28. – Building ICEPerf – JanusCon 2024 Cloud f lare, Xirsys

    & Twilio Gifted Us Credit 89– Building ICEPerf – JanusCon 2024 Metered & ExpressTURN on Their Free Tiers
  29. – Building ICEPerf – JanusCon 2024 90 Latency Tests completed

    over home broadband connection, 1 Gbps down, 100 Mbps up, hardwired – Building ICEPerf – JanusCon 2024
  30. – Building ICEPerf – JanusCon 2024 91 Latency TURN UDP

    – Building ICEPerf – JanusCon 2024
  31. – Building ICEPerf – JanusCon 2024 92 Latency TURN TCP

    – Building ICEPerf – JanusCon 2024
  32. – Building ICEPerf – JanusCon 2024 93 Latency TURN TLS

    – Building ICEPerf – JanusCon 2024
  33. – Building ICEPerf – JanusCon 2024 94 First ICE candidate,

    STUN Tests completed over home broadband connection, 1 Gbps down, 100 Mbps up, hardwired – Building ICEPerf – JanusCon 2024
  34. – Building ICEPerf – JanusCon 2024 95 First ICE candidate,

    TURN Tests completed over home broadband connection, 1 Gbps down, 100 Mbps up, hardwired – Building ICEPerf – JanusCon 2024
  35. – Building ICEPerf – JanusCon 2024 96 First ICE candidate,

    TURN UDP – Building ICEPerf – JanusCon 2024
  36. – Building ICEPerf – JanusCon 2024 97 First ICE candidate,

    TURN TCP – Building ICEPerf – JanusCon 2024
  37. – Building ICEPerf – JanusCon 2024 98 First ICE candidate,

    TURN TLS Tests completed over home broadband connection, 1 Gbps down, 100 Mbps up, hardwired – Building ICEPerf – JanusCon 2024
  38. – Building ICEPerf – JanusCon 2024 99 Tests completed over

    home broadband connection, 1 Gbps down, 100 Mbps up, hardwired Max throughput – Building ICEPerf – JanusCon 2024
  39. – Building ICEPerf – JanusCon 2024 100 Tests completed over

    home broadband connection, 1 Gbps down, 100 Mbps up, hardwired Max throughput TURN UDP – Building ICEPerf – JanusCon 2024
  40. – Building ICEPerf – JanusCon 2024 101 Tests completed over

    home broadband connection, 1 Gbps down, 100 Mbps up, hardwired Max throughput TURN TCP – Building ICEPerf – JanusCon 2024
  41. – Building ICEPerf – JanusCon 2024 102 Tests completed over

    home broadband connection, 1 Gbps down, 100 Mbps up, hardwired Max throughput TURN TLS – Building ICEPerf – JanusCon 2024
  42. – Building ICEPerf – JanusCon 2024 But Did You Know

    if You Just Create a TURN URI for a Network It Might Just Work? 103
  43. – Building ICEPerf – JanusCon 2024 104 Max throughput TURN

    TLS – Building ICEPerf – JanusCon 2024
  44. – Building ICEPerf – JanusCon 2024 105 Throughput Tests completed

    over home broadband connection, 1 Gbps down, 100 Mbps up, hardwired – Building ICEPerf – JanusCon 2024
  45. – Building ICEPerf – JanusCon 2024 107 Throughput Tests completed

    over home broadband connection, 1 Gbps down, 100 Mbps up, hardwired – Building ICEPerf – JanusCon 2024
  46. – Building ICEPerf – JanusCon 2024 109 Throughput Tests completed

    over home broadband connection, 1 Gbps down, 100 Mbps up, hardwired – Building ICEPerf – JanusCon 2024
  47. – Building ICEPerf – JanusCon 2024 Already Started With Rel

    126 https://github.com/elixir-webrtc/rel
  48. – Building ICEPerf – JanusCon 2024 Pushing Data Through TURN

    Networks Becomes £££/$$$/€€€ 131
  49. – Building ICEPerf – JanusCon 2024 We're Going To Need

    Some Kind of Support To Make It Happen. 132
  50. – Building ICEPerf – JanusCon 2024 Don't Forget To Get

    a Sel f ie With Us for the Chance of Winning a CommCon UK/SF Ticket 134