Bug 259599 - ICE candidate gathering results in redundant candidates with equal priorities violating RFC8445
Summary: ICE candidate gathering results in redundant candidates with equal priorities...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-28 09:58 PDT by jbookshar
Modified: 2023-08-28 13:37 PDT (History)
2 users (show)

See Also:


Attachments
SDP Data (30.33 KB, text/plain)
2023-07-28 09:58 PDT, jbookshar
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jbookshar 2023-07-28 09:58:18 PDT
Created attachment 467145 [details]
SDP Data

When we make a WebRTC call and disconnect this first call and then make a second call without closing the browser tab the ICE candidate gathering results in redundant candidates with equal priorities violating RFC8445 section 5.1.2.

Each candidate for a data stream MUST have a unique priority that MUST be a positive integer between 1 and (2**31 - 1).

I have included the SDP.log file which contains the good call's SDP first followed by the failure call's SDP.

We can provide a test environment for reproducing this.

Steps to reproduce:

Open Safari app and make first call.
Disconnect first call after it is verified working.
Press home button once to return to home screen.
Switch context to another app like "Notes".
Press home button once to return to home screen.
Switch back to Safari app.
Press home button once to return to home screen.
Switch context to another app like "Notes".
Press home button once to return to home screen.
Switch back to Safari app.
Make second call and this will result in redundant candidates.
Comment 1 Radar WebKit Bug Importer 2023-08-04 09:59:14 PDT
<rdar://problem/113401597>
Comment 2 youenn fablet 2023-08-21 04:23:35 PDT
@jbookshar, I am missing some information on how you setup the calls. For instance, whether there several peer connections, or only one that gets updated and renegotiation happens.

Would you be able to make a reduced test case? Or get access to your web site?
Comment 3 jbookshar 2023-08-21 09:49:57 PDT
Thanks for the response Youenn. I will send you an email directly to provide test access to our system.
Comment 4 jbookshar 2023-08-28 13:37:37 PDT
Hello Youenn, I sent you test details on Mon 8/28/2023 4:04 PM with this subject line.

RE: Bug 259599 - ICE candidate gathering results in redundant candidates with equal priorities violating RFC8445