in

WebRTC media servers stress testing tool


WebRTC media servers stress testing tool (currently only Janus)

  1. Address restricted NAT

    • packets to external IP:Port on the router always maps to internal IP:Port as long
      as source address from packet matches the table (regardless of port)

    • allow if we commnicated with this before

  2. Port restricted NAT

    • packets to external IP:Port on the router always maps to internal IP:Port as long
      as source address and port from packet matches the table

    • allow if we commnicated with this host:port before

  3. symetric NAT

    • packets to external IP:Port on the router always maps to internal IP:Port as long
      as source address and port from packet matches the table

    • allow if the full pair match (it’s for you and me)

  • works for first 3 models of NAT translations (not symetric)

  • how clients behind Address/port restricted can connect to each other?
    The trick is they will try to communicate both with a dummy packet which will be blocked by each
    recipient (because no ip/port mapping ) exist but the second packet will pass because each device
    will see that they attempted to connect to the other one so packets will be allowed

  • why can’t symmetric NAT use this technique as well?
    because the External Port is changed on each request.

  • when stun doesn’t work

Signaling

a way to send SDP that we generated somehow to other party we wish communicate with

it can be done via tweet, QR code, WebSocket, HTTP request (DOESN’T MATTER, just send it
to the other party)

GitHub

https://github.com/snapp-incubator/ghodrat




Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

Top 7 Featured DEV Posts from the Past Week

How you can use WebSockets with Flutter