Open Bug 2014280 Opened 5 days ago Updated 3 days ago

RTC.IceConnectionStateChange callbacks can be slow

Categories

(Core :: WebRTC: Signaling, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox149 --- affected

People

(Reporter: jimm, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: webcompat:platform-bug)

User Story

user-impact-score:1000

Reported by a stream service - 'During internet interruptions, disconnect messages take longer to receive on our servers compared to other browsers. On Chrome, it is almost immediate while on Firefox it takes about 5 seconds which causes issues for immediate reconnects. We are listening to the RTC.IceConnectionStateChange callback on the server.'

Blocks: amzn-luna

If there is a reliance on disconnected state the determination for signaling this is implementation dependent and the spec does not point to any faster compliant method for connectivity interruptions.

RFC 7675 consent checks:

Waiting for failed checks will result in the ~5s delay being observed. Chrome appears to detect this disconnection more aggressively, potentially in ways that are not spec compliant.

We should look into reducing the delay for signaling connectivity interruptions, but any changes should remain spec compliant and consider existing applications that may rely on Firefox’s current behavior.

User Story: (updated)
You need to log in before you can comment on or make changes to this bug.