WebRTC Call Analysis Summary 🔗

Executive Summary 🔗

This document provides a comprehensive analysis of 5 WebRTC call attempts analyzed using automated diagnostic tools. The analysis reveals a 20% success rate with significant device switching issues and ICE connectivity failures.

Key Metrics:


Individual Call Analysis 🔗

Call 1: 3162189.txt - ❌ FAILED 🔗

Duration: 2025-06-27 10:01:56 - 10:35:13
Device: Plantronics Savi 8200 UC Series
Final State: failed

Technical Details: 🔗

SDP Exchange: 🔗

Remote SDP (Offer):

Local SDP (Answer):

Media Statistics: 🔗

Issues Detected: 🔗

  1. Excessive rapid device switching: 18 switches within 5 seconds
  2. ICE connection failure: "No local candidates" error
  3. High packet loss: 1788 packets

Call 2: 3162441.txt - ⚠️ DISCONNECTED 🔗

Duration: 2025-06-27 10:41:26 - 11:05:32
Device: Jabra Link 380
Final State: disconnected

Technical Details: 🔗

SDP Exchange: 🔗

Remote SDP (Offer):

Local SDP (Answer):

Selected Candidates: 🔗

Media Statistics: 🔗

Issues Detected: 🔗

  1. Extreme device switching: 31 rapid switches
  2. Connection via TURN relay disconnected
  3. High packet loss: 3276 packets

Call 3: 3162629.txt - ❌ FAILED 🔗

Duration: 2025-06-27 10:34:27 - 11:31:45
Device: Jabra Link 380
Final State: failed

Technical Details: 🔗

SDP Exchange: 🔗

Remote SDP (Offer):

Local SDP (Answer):

Media Statistics: 🔗

Issues Detected: 🔗

  1. ICE connection failure: "No local candidates" error
  2. High packet loss: 4850 packets
  3. Minimal device switching but still failed

Call 4: 3162734.txt - ✅ SUCCESSFUL 🔗

Duration: 2025-06-27 11:41:11 - 12:08:32
Device: Jabra EVOLVE LINK
Final State: connected

Technical Details: 🔗

SDP Exchange: 🔗

Remote SDP (Offer):

Local SDP (Answer):

Selected Candidates: 🔗

Codec Information: 🔗

Media Statistics: 🔗

Success Factors: 🔗


Call 5: 3162756.txt - ❌ FAILED 🔗

Duration: 2025-06-27 10:34:27 - 11:38:27
Device: Jabra Link 380
Final State: failed

Technical Details: 🔗

SDP Exchange: 🔗

Note: Identical remote SDP to Call 3 (same ice-ufrag: WgufiMwXjubsd4Gx) - Same fingerprint and session parameters - Appears to be a retry of Call 3

Media Statistics: 🔗

Issues Detected: 🔗

  1. ICE connection failure: "No local candidates" error
  2. Highest packet loss: 8375 packets
  3. Appears to be automatic retry of failed Call 3

Aggregate Analysis 🔗

Device Switching Patterns 🔗

Calls Device Switches Success Rate
1-5 switches 1/1 100%
18+ switches 0/4 0%

ICE Connectivity Results 🔗

Connection Type Attempts Success Rate
STUN ↔ STUN 1 100%
TURN ↔ STUN 1 0% (disconnected)
Failed in ICE 3 0%

Network Configuration 🔗

TURN Servers:

IP Ranges:

Common Failure Indicators 🔗

  1. Device Enumeration Conflicts:

  2. "Standard - [Device]" vs "[Device]" naming

  3. Rapid switching between identical devices
  4. Flip-flop patterns disrupting connection

  5. ICE Negotiation Failures:

  6. "No local candidates" error despite having candidates

  7. Failures immediately after SDP exchange
  8. No candidate pair selection

  9. Media Quality Issues:

  10. Packet loss in all calls (604 - 8375 packets)

  11. Jitter measurements show anomalies during failures
  12. No received bytes in successful call (one-way audio)

Key Findings 🔗

  1. Primary Issue: Device switching feedback loop
  2. 52 rapid switches across 5 calls
  3. Switching intervals as low as 0.1 seconds
  4. Strong correlation with connection failures

  5. Secondary Issue: TURN server reliability

  6. Only one call used TURN relay
  7. Disconnected after establishing connection
  8. May indicate authentication or timeout issues

  9. Success Pattern:

  10. Minimal device switching (5 calls)

  11. Direct STUN connectivity
  12. Different device without enumeration issues
  13. Connection to FreeSWITCH server

  14. Codec Behavior:

  15. All calls negotiate G722/8000 as preferred codec

  16. Successful call confirms G722 usage
  17. No transcoding issues observed

  18. Network Quality:

  19. Actual network jitter is excellent (<10ms)

  20. Extreme jitter values are measurement artifacts
  21. RTT acceptable for VoIP (avg 307ms)

Recommendations Based on Data 🔗

  1. Device Management:

  2. Implement device label normalization

  3. Add switching debounce mechanism
  4. Cache MediaStream objects

  5. Connection Reliability:

  6. Investigate TURN server timeout settings

  7. Implement ICE restart on failures
  8. Add connection state monitoring

  9. Debugging:

  10. Enable verbose ICE logging

  11. Monitor device enumeration events
  12. Track getUserMedia timing

  13. Infrastructure:

  14. Test alternative TURN servers

  15. Verify firewall rules for WebRTC
  16. Consider forcing TURN for problematic networks

Analysis performed on 2025-06-28 using WebRTC diagnostic tools