Created attachment 422547 [details] Memory timeline recording Releasing an old media stream and getting a new media stream with a different camera seems to leak memory, though not for every switch, or to the same extent on every website. You can see in the attached image my reproduction on https://webrtc.github.io/samples/src/content/devices/input-output/ - the memory use for 'Pages' doubles as I continually switch between front and back camera, and after I stop switching at around 160s, does not ever go back down. On more complex Angular/React websites with a higher memory footprint, a single switch is even causing some devices to reload the page and produce a jetsam event. Let me know if there are any more details I can provide to help.
<rdar://problem/75160959>
Thanks for the report, which iOS version are you using?
This was on iOS 14.4