Shim to insulate apps from spec changes and prefix differences. Latest adapter.js release:
BSD 3-Clause "New" or "Revised" License
3.63k
stars
846
forks
source link
shimAddIceCandidateNullOrEmpty fails on Safari 17.0 #1140
Open
thewildtree opened 1 year ago
Versions affected
Browser name including version (e.g. Chrome 64.0.3282.119)
Safari 17.0 (19616.1.27.111.16)
adapter.js (e.g. 6.1.0)
All versions >=8.0.0
Description
The
shimAddIceCandidateNullOrEmpty
step fails on Safari. This particular check breaks (len==0): https://github.com/webrtcHacks/adapter/blob/28c9f9471cb3df75cbb978c6f840e3315731790f/release/adapter.js#L1480-L1482Causing this API to not be replaced correctly. This breaks the empty-candidate scenario, causing an error to be thrown.
Steps to reproduce